8 lines
175 B
Bash
8 lines
175 B
Bash
# Export $GOPATH
|
|
export GOPATH=$HOME/go
|
|
|
|
# Always use Go modules, even inside GOPATH
|
|
export GO111MODULE=on
|
|
|
|
# Add Go binary directory to $PATH
|
|
export PATH="$PATH:$GOPATH/bin"
|