Build is failing with go1.21 and go1.20
Closed this issue · 3 comments
procodr commented
Hi
Tried to use with go.1.21, but got this errors:
../gopath3129421724/pkg/mod/github.com/nbio/xml@v0.0.0-20230911191213-3196beda1b54/xml.go:55:12: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
../gopath3129421724/pkg/mod/github.com/nbio/xml@v0.0.0-20230911191213-3196beda1b54/marshal.go:80:16: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
...
../gopath3129421724/pkg/mod/github.com/nbio/xml@v0.0.0-20230911191213-3196beda1b54/read.go:200:23: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
../gopath3129421724/pkg/mod/github.com/nbio/xml@v0.0.0-20230911191213-3196beda1b54/marshal.go:213:14: too many errors
playground: https://go.dev/play/p/pUaXJ-l0ElK
ydnar commented
Thanks for the report. I’ll take a look!
procodr commented
It's OK now, thanks for your great work. 👍