MarGo: Missing required environment variables: GOROOT GOPATH See the `Quirks` section of USAGE.md fo

来源:互联网 发布:记帐软件手机版 编辑:程序博客网 时间:2024/06/03 16:09

挖个坑,以后填土。

Quirks

------


This section assumes you know what `GOPATH` is and how to set it. If you don't, please see http://golang.org/doc/code.html


In some systems, environment variables are not passed around as expected.
The result of which is that some commands e.g `go build` don't work
as the command cannot be found or `GOPATH` is not set. To get around this
the simplest thing to do is to set these variables in the settings file.
See the documentation for the `env` and/or `shell` setting, both documented in the default
settings file `Packages/User/GoSublime.sublime-settings`
0 0
原创粉丝点击