mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-22 11:46:40 +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
|
@ -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