Skip to content

Commit

Permalink
[bug] Fix an import statement in the gen template (#2426)
Browse files Browse the repository at this point in the history
The package was renamed from langs to language.
  • Loading branch information
daenney authored Dec 8, 2023
1 parent dacfd41 commit 455064f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/gen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 455064f

Please sign in to comment.