From 455064fec743cc42b25097a489904893ad92f0e0 Mon Sep 17 00:00:00 2001 From: Daenney Date: Fri, 8 Dec 2023 13:07:34 +0100 Subject: [PATCH] [bug] Fix an import statement in the gen template (#2426) The package was renamed from langs to language. --- internal/config/gen/gen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/gen/gen.go b/internal/config/gen/gen.go index 96e036d98..9130f8606 100644 --- a/internal/config/gen/gen.go +++ b/internal/config/gen/gen.go @@ -67,7 +67,7 @@ func main() { fmt.Fprint(output, "import (\n") fmt.Fprint(output, "\t\"time\"\n\n") fmt.Fprint(output, "\t\"codeberg.org/gruf/go-bytesize\"\n") - fmt.Fprint(output, "\t\"github.com/superseriousbusiness/gotosocial/internal/langs\"\n") + fmt.Fprint(output, "\t\"github.com/superseriousbusiness/gotosocial/internal/language\"\n") fmt.Fprint(output, ")\n\n") generateFields(output, nil, reflect.TypeOf(config.Configuration{})) _ = output.Close()