add IPPrefixes type so we don't need separate rate limit parsed field

This commit is contained in:
kim 2025-04-09 15:44:15 +01:00
commit 9d15102f70
10 changed files with 82 additions and 71 deletions

View file

@ -65,7 +65,6 @@ func main() {
fmt.Fprint(output, license)
fmt.Fprint(output, "package config\n\n")
fmt.Fprint(output, "import (\n")
fmt.Fprint(output, "\t\"net/netip\"\n")
fmt.Fprint(output, "\t\"time\"\n\n")
fmt.Fprint(output, "\t\"codeberg.org/gruf/go-bytesize\"\n")
fmt.Fprint(output, "\t\"github.com/superseriousbusiness/gotosocial/internal/language\"\n")