mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-23 10:32:27 +00:00
- 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 | ||