[bugfix] Fix imports for helpers.gen.go (#924)
This commit is contained in:
parent
c7ba195907
commit
31f0f27bed
|
@ -70,6 +70,7 @@ func main() {
|
||||||
fmt.Fprint(output, "// THIS IS A GENERATED FILE, DO NOT EDIT BY HAND\n")
|
fmt.Fprint(output, "// THIS IS A GENERATED FILE, DO NOT EDIT BY HAND\n")
|
||||||
fmt.Fprint(output, license)
|
fmt.Fprint(output, license)
|
||||||
fmt.Fprint(output, "package config\n\n")
|
fmt.Fprint(output, "package config\n\n")
|
||||||
|
fmt.Fprint(output, "import \"codeberg.org/gruf/go-bytesize\"\n\n")
|
||||||
t := reflect.TypeOf(config.Configuration{})
|
t := reflect.TypeOf(config.Configuration{})
|
||||||
for i := 0; i < t.NumField(); i++ {
|
for i := 0; i < t.NumField(); i++ {
|
||||||
field := t.Field(i)
|
field := t.Field(i)
|
||||||
|
|
Loading…
Reference in New Issue