Closed ozkansen closed 1 year ago
How do you get this directive into the go mod using the standard tooling? It doesn't appear it's a documented directive for go.mod, only for go.work.
Ah looks like go get toolchain
adds it. Unusual for a lack of docs.
When I updated the base go version in the project with go mod tidy -go=1.21
, it added it automatically.
The error appears to be caused by the golang.org/x/mod package. I made the necessary updates and the problem was fixed.
thanks @ozkansen could you fix issues in your PR to pass the pipeline?
thanks @ozkansen now issue is fixed
Hi everyone, i got go 1.21 toolchain error.
go.mod file
error detail:
output: