当前位置:   article > 正文

GOROOT与GOPATH_goroot和gopath

goroot和gopath

GOROOT与GOPATH

如https://www.jetbrains.com/help/go/configuring-goroot-and-gopath.html所述,

GOROOT is a variable that defines where your Go SDK is located. You do not need to change this variable, unless you plan to use different Go versions.

GOPATH is a variable that defines the root of your workspace.

GOROOT是Go SDK的位置,GOPATH是workspace的根目录。

从Go 1.8开始不需手动设置GOPATH

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/193489
推荐阅读
相关标签
  

闽ICP备14008679号