<2023-05-06 周六>
windows
平台为go1.12.6
安装gopls
事隔三年又重新开始配置这个开发环境,好在prelude
的配置不用动,只要安装了gopls
就可以直接开始开发了。因为go1.12.6
版本太低,参考:“gopls, the Go language server”,会安装失败:
> set GO111MODULE=on
> set GOPROXY=https://goproxy.cn
> go get golang.org/x/tools/gopls@latest
note: module requires G