mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-24 02:52:37 +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. |
||
|---|---|---|
| .. | ||
| binding.go | ||
| binding_test.go | ||
| email.go | ||
| email_test.go | ||
| glob_pattern_test.go | ||
| helpers.go | ||
| helpers_test.go | ||
| refname_test.go | ||
| regex_pattern_test.go | ||
| validatable.go | ||
| validatable_test.go | ||
| validurl_test.go | ||