go設置多個GOPATH

文章目錄 go設置多個GOPATH go設置多個GOPATH linux:linux GOPATH="/home/www/gopath1:/home/www/gopath2" windows:web GOPATH=f:/gopath1;f:/gopath2; 注意: go get 時默認安裝到第一個GOPATH路徑shell go build時,有時會報同一種類型或方法不匹配,因爲多個是GOPAT
相關文章
相關標籤/搜索