[CHORE] Use forked binding library

- 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.
This commit is contained in:
Gusted 2024-11-05 21:40:44 +01:00
parent 25c7c531f5
commit 310376525b
No known key found for this signature in database
GPG key ID: FD821B732837125F
30 changed files with 35 additions and 35 deletions

View file

@ -7,7 +7,7 @@ import (
"regexp"
"testing"
"gitea.com/go-chi/binding"
"code.forgejo.org/go-chi/binding"
)
func getRegexPatternErrorString(pattern string) string {