赞
踩
如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
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。