作为标题,我只是在我的笔记本电脑中安装Go包.操作系统:Windows 7 Enterpreise SP1(64位)安装路径:C:\go
我设置了"环境变量":
GOROOT
Value = C:\GO;C:GO\bin
Run Code Online (Sandbox Code Playgroud)
我制作了hello.go文件并将其保存 C:\go
当我运行时"go run hello.go" in CMD in C:\,收到如下错误消息:
go:cannot find cannot find GOROOT directory: C:\Go; C:\Go\bin
Run Code Online (Sandbox Code Playgroud) go ×1