gvm

https://github.com/felipecaputo/vscode-go-gvm
需要重启gopls才会生效
Go: Restart Language Server Restart the running instance of the language server

https://github.com/LeetCode-OpenSource/vscode-leetcode
https://github.com/golang/vscode-go/blob/master/docs/advanced.md#using-go118



https://github.com/golang/go/milestone/244



https://github.com/golang/tools/blob/master/gopls/doc/advanced.md#working-with-generic-code



https://github.com/golang/tools/blob/master/gopls/doc/advanced.md#working-with-generic-code



https://github.com/golang/vscode-go/blob/master/docs/advanced.md#using-go118



https://github.com/golang/vscode-go



https://github.com/golang/vscode-go/issues/2093



检查 GOPATH 的值
首先,快速检查您是否使用了正确的 GOPATH 很有用。两个命令报告 VS Code Go 扩展使用的 GOPATH 值:(1)Go: Current GOPATH or (2)Go: Locate Configured Go Tools.使用这些命令中的任何一个来检查扩展正在使用哪个 GOPATH。如果 GOPATH 值不正确,请参阅下面的详细信息以了解如何配置它。



https://zhuanlan.zhihu.com/p/466865353



https://github.com/golang/vscode-go/blob/master/docs/commands.md#go-locate-configured-go-tools



Go: Current GOPATH
See the currently set GOPATH.



Go: Locate Configured Go Tools
List all the Go tools being used by this extension along with their locations.



Go: Test Function At Cursor
Runs a unit test at the cursor.



Category golang