> go help gopath
文档中有一段:
On Windows, the value is a semicolon-separated string.
意思是以 " : "作为分隔符
如果你配置的 GOPATH = D:/gopath, 会被解析成 gopath = D 和 gopath = /gopath两个目录!!!
go: GOPATH entry is relative; must be absolute path: "$GOHOME".
> go help gopath
文档中有一段:
On Windows, the value is a semicolon-separated string.
意思是以 " : "作为分隔符
如果你配置的 GOPATH = D:/gopath, 会被解析成 gopath = D 和 gopath = /gopath两个目录!!!
go: GOPATH entry is relative; must be absolute path: "$GOHOME".