how to change gopath
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
how to change gopath
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
how to set gopath/bin linux
## open your favorite code editor
vim ~/.bashrc
## paste this sample code like this
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
## after changes file .bashrc and saved changes
source ~/.bashrc
## and close your terminal and open again
## success and this work
## test get package from internet
go get github.com/codegangsta/gin
gin --help
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us