vscode go环境配置

148 阅读1分钟

step 1 install the go extension

step 2 update the go tools

\

When prompted, select all the available Go tools then click OK.
Wait for the Go tools to finish updating.

step 3 init env

创建一个目录 sample-go

使用命令 go mod init sample-go 初始化项目

step 4 enjoy yourself

\