1、After repeated debugging, I still can't solve it. I reinstalled :go13, vscode
2、vim ~/.bash_profile export GO111MODULE=auto export GOPROXY=https://goproxy.io
source ~/.bash_profile
3、A series of tools such as golint godef gocode have been reinstalled.But still can't track the function in the code,
I spent 3 hours trying to fix it. I don't know what to do, please help me. thank you very much❤️❤️❤️
As you can see in the picture, no errors are indicated, how should I set it up?
1、我清空了vscode的自定义设置(解决了vscode不提示问题) 2、go mod init 生成了mod文件(解决了import找不到安装包的红线报告)
感谢Markus W Mahlberg,因为是他提醒了我。