imxiejie / ThinkVim

Vim configuration in the 21st century
MIT License
868 stars 106 forks source link

Change gopath and goroot #89

Closed SlippyJimmy closed 4 years ago

SlippyJimmy commented 4 years ago

Error: Command failed: env GOBIN=/Users/vimer/.config/coc/extensions/coc-go-data /bin GOPATH=/Users/vimer/.config/coc/extensions/coc-go-data/tools go get -u gola ng.org/x/tools/cmd/gopls I want to change the GoPath and GoRoot, Where to edit it?

glepnir commented 4 years ago

the gopath is setting on your path file like zshrc or bashrc