commit 31f0f27bed81536f3bf1d029eeb21078f0101e98
parent c7ba19590744853122cc5d31fe34fcbb545529ec
Author: Mia Heidenstedt <i5heu@i5h.eu>
Date: Sat, 29 Oct 2022 17:14:57 +0200
[bugfix] Fix imports for helpers.gen.go (#924)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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)