Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: adds import for package not required by module dependencies #37285
Please answer these questions before submitting your issue. Thanks!
What did you do?
See https://play.golang.org/p/tNlNNlBk6lx for the full listing.
Edit a module that requires
Save file in VSCode to trigger automatic import fixes with gopls.
What did you expect to see?
Import section populated with packages from dependencies:
What did you see instead?
Import section incorrectly populated with package that's not listed in dependencies (second line):