Sometimes when I open the Golang project with VSCode, some import packages are highlighted with error underline and the error message is like below
error while importing github.com/jpillora/chisel/client: module lookup disabled by GOPROXY=off
If you are sure that the packages are downloaded already, reloading the VSCode window should solve the issue.
If this post helped you to solve a problem or provided you with new insights, please upvote it and share your experience in the comments below. Your comments can help others who may be facing similar challenges. Thank you!