Closed DoNotLeaveMe closed 4 weeks ago
Use latest Go
Go 1.20 added support for casting slices to arrays. Earlier Go versions do not support it. This error is in cryptographic code, not in the driver itself. We cannot do anything about it. But as methane said, please use a recent Go version. They are backwards compatible and get better and faster all the time. There's no disadvantage.
There was no problem on before ;but today I get driver again;there is called 'filippo.io' report an error; and my go version is 1.6+;
I'm just a noob,I can't solve this problem;
please help!
cmd
C:\Users\Administrator>go get -u github.com/go-sql-driver/mysql filippo.io/edwards25519 go\pkg\mod\filippo.io\edwards25519@v1.1.0\scalar.go:166:53: cannot convert x (type []byte) to type *[32]byte note: module requires Go 1.20