mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-28 03:11:01 +00:00
[bug] Fix an import statement in the gen template (#2426)
The package was renamed from langs to language.
This commit is contained in:
parent
dacfd413dc
commit
455064fec7
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ func main() {
|
||||||
fmt.Fprint(output, "import (\n")
|
fmt.Fprint(output, "import (\n")
|
||||||
fmt.Fprint(output, "\t\"time\"\n\n")
|
fmt.Fprint(output, "\t\"time\"\n\n")
|
||||||
fmt.Fprint(output, "\t\"codeberg.org/gruf/go-bytesize\"\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")
|
fmt.Fprint(output, ")\n\n")
|
||||||
generateFields(output, nil, reflect.TypeOf(config.Configuration{}))
|
generateFields(output, nil, reflect.TypeOf(config.Configuration{}))
|
||||||
_ = output.Close()
|
_ = output.Close()
|
||||||
|
|
Loading…
Reference in a new issue