mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 21:05:34 +03:00
310376525b
- Use the forked [binding](https://code.forgejo.org/go-chi/binding) library. This library has two benefits, it removes the usage of `github.com/goccy/go-json` (has no benefit as the minimo library is also using it). It adds the `TrimSpace` feature, which will during the binding part trim the spaces around the value it got from the form, this is done before validation. |
||
---|---|---|
.. | ||
middleware | ||
routing | ||
types | ||
handler.go | ||
route.go | ||
route_test.go | ||
routemock.go | ||
routemock_test.go |