更新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

vscode  Go 1.11.4 编译错误  need Delve built by Go 1.11 or later

复制上图的dlv.exe(路径换成自己的)到%GOPATH%/bin目录下即可

查看delve的版本,更新为v1.1的版本了

vscode  Go 1.11.4 编译错误  need Delve built by Go 1.11 or later

问题解决:
vscode  Go 1.11.4 编译错误  need Delve built by Go 1.11 or later

相关文章:

  • 2022-12-23
  • 2021-05-24
  • 2022-02-02
  • 2022-12-23
  • 2021-05-14
  • 2021-04-27
  • 2021-10-16
猜你喜欢
  • 2021-08-19
  • 2022-01-05
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案