litgh / atom-godef

Atom package, find definition under current cursor for golang using 'godef'
MIT License
7 stars 5 forks source link

~/.atom/packages/godef/lib/godef.coffee:62 GOPATH not found. #4

Open Frederic-Zhou opened 9 years ago

Frederic-Zhou commented 9 years ago

I have set GOPATH in my go env and set go-plus goPath and set godef goPath when I toggle godef , it show error "GOPATH not found." my atom config : "go-plus": goInstallation: "/usr/local/go/bin" lintOnSave: false goPath: "~/workspace/go" godef: goPath: "~/workspace/go" show: "Right"

litgh commented 9 years ago

pls set system env variable GOPATH and try..

export GOPATH=/path/to/gopath