Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go.mod:5: unknown directive: toolchain #216

Open
luisdavim opened this issue Nov 5, 2023 · 0 comments
Open

go.mod:5: unknown directive: toolchain #216

luisdavim opened this issue Nov 5, 2023 · 0 comments

Comments

@luisdavim
Copy link

luisdavim commented Nov 5, 2023

After updating to go 1.21 and running go mod tidy my go.mod file has a new directive:

toolchain go1.21.3

I tried running CocCommand go.install.tools but that didn't help, I have:

# ~/.config/coc/extensions/coc-go-data/bin/gopls version
golang.org/x/tools/gopls v0.11.0
    golang.org/x/tools/[email protected] h1:/nvKHdTtePQmrv9XN3gIUN9MOdUrKzO/dcqgbG6x8EY=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant