[bugfix] Fix imports for helpers.gen.go (#924)

This commit is contained in:
Mia Heidenstedt 2022-10-29 17:14:57 +02:00 committed by GitHub
parent c7ba195907
commit 31f0f27bed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)