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.
Enjoyed this article? Support my work with a coffee ☕ on Ko-fi.