refactor(zsh): always use go modules
This commit is contained in:
parent
e17b344133
commit
f780b40b0d
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
# 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"
|
||||
|
|
Loading…
Reference in a new issue