refactor(zsh): always use go modules

This commit is contained in:
George Rawlinson 2018-08-26 11:12:41 +12:00
parent e17b344133
commit f780b40b0d
1 changed files with 3 additions and 0 deletions

View File

@ -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"