diff options
author | 2022-10-29 17:14:57 +0200 | |
---|---|---|
committer | 2022-10-29 17:14:57 +0200 | |
commit | 31f0f27bed81536f3bf1d029eeb21078f0101e98 (patch) | |
tree | 7e4fb8ecf4d37c49abe63e32d2f8ce75c2b2dca1 /internal/config/gen/gen.go | |
parent | [bugfix] Prevent future statuses showing in timelines (#932) (diff) | |
download | gotosocial-31f0f27bed81536f3bf1d029eeb21078f0101e98.tar.xz |
[bugfix] Fix imports for helpers.gen.go (#924)
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 e92483939..a0db7e0e0 100644 --- a/internal/config/gen/gen.go +++ b/internal/config/gen/gen.go @@ -70,6 +70,7 @@ func main() { fmt.Fprint(output, "// THIS IS A GENERATED FILE, DO NOT EDIT BY HAND\n") fmt.Fprint(output, license) fmt.Fprint(output, "package config\n\n") + fmt.Fprint(output, "import \"codeberg.org/gruf/go-bytesize\"\n\n") t := reflect.TypeOf(config.Configuration{}) for i := 0; i < t.NumField(); i++ { field := t.Field(i) |