diff options
author | 2025-01-27 19:21:13 +0100 | |
---|---|---|
committer | 2025-01-27 19:21:13 +0100 | |
commit | 904829094816fb38d8f1e1d2c19c4c9c014baa88 (patch) | |
tree | ef481d04b884011b838a03c8b3dd58b955c7eaec /internal/config/gen/gen.go | |
parent | [chore] some tidy ups (#3677) (diff) | |
download | gotosocial-904829094816fb38d8f1e1d2c19c4c9c014baa88.tar.xz |
[chore] skip `trusted-proxies` warning if ip excepted from rate limiting (#3699)
* [chore] skip `trusted-proxies` warning if ip excepted from rate limiting
* weep
* typo
* fix env parsing test
Diffstat (limited to 'internal/config/gen/gen.go')
-rw-r--r-- | internal/config/gen/gen.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/gen/gen.go b/internal/config/gen/gen.go index 9130f8606..a3742ee15 100644 --- a/internal/config/gen/gen.go +++ b/internal/config/gen/gen.go @@ -65,6 +65,7 @@ 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") |