forked from mirrors/gotosocial
[bugfix] Fix imports for helpers.gen.go (#924)
This commit is contained in:
parent
c7ba195907
commit
31f0f27bed
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue