vscode Go 1.11.4 编译错误 need Delve built by Go 1.11 or later
更新golang的版本为1.11.4之后vscode编译错误:executables built by Go 1.11 or later need Delve built by Go 1.11 or later
原因是delve的版本太老了,需要更新,且delve的github地址已经更换,很多教程里的地址是不对的
新地址安装delve:
go get -u github.com/go-delve/delve/cmd/dlv
复制上图的dlv.exe(路径换成自己的)到%GOPATH%/bin目录下即可
查看delve的版本,更新为v1.1的版本了
问题解决: