-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
While following the tutorial from this https://entgo.io/blog/2021/10/11/generating-ent-schemas-from-existing-sql-databases
got this error.
❯ go run ariga.io/entimport/cmd/entimport -dialect mysql -dsn "root:usertcp(mysql:3306)/test"
# ariga.io/atlas/sql/schema
../../../go/pkg/mod/ariga.io/atlas@v0.9.1-0.20230119145809-92243f7c55cb/sql/schema/dsl.go:754:17: type parameter requires go1.18 or later (-lang was set to go1.16; check go.mod)
../../../go/pkg/mod/ariga.io/atlas@v0.9.1-0.20230119145809-92243f7c55cb/sql/schema/inspect.go:32:58: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
../../../go/pkg/mod/ariga.io/atlas@v0.9.1-0.20230119145809-92243f7c55cb/sql/schema/inspect.go:33:57: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
# github.com/hashicorp/hcl/v2
../../../go/pkg/mod/github.com/hashicorp/hcl/v2@v2.13.0/diagnostic_typeparams.go:22:22: type parameter requires go1.18 or later (-lang was set to go1.16; check go.mod)
../../../go/pkg/mod/github.com/hashicorp/hcl/v2@v2.13.0/diagnostic_typeparams.go:22:24: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
go version go1.19.5 darwin/arm64
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels