Tag:Set gopath

  • Go how to set multiple gopaths


    Go set multiple gopaths linux: GOPATH=”/home/www/gopath1:/home/www/gopath2″ windows: GOPATH=f:/gopath1;f:/gopath2; be careful: Go get is installed to the first gopath path by default When you go build, you will sometimes report that the same type or method does not match. Because multiple gopath paths are caused by the wrong order, you can change the order Supplement: how […]