getting $GOPATH not set error

Written by
reddit
Link to Post

https://www.reddit.com/r/golang/comments/b0tgp0/getting_gopath_not_set_error/ by 

getting $GOPATH not set error even though go env GOPATH says /home/user/go. How do I fix this error? .bashrc has this export GOPATH=$HOME/go export PATH=$PATH:$GOROOT/bin:$GOPATH/bin I don’t understand what’s wrong go path seems to be set.

submitted by /u/flamethrower20
[link] [comments]

Article Tags:
· ·
Article Categories:
reddit

Leave a Reply