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

View file

@ -1,5 +1,8 @@
# Export $GOPATH # Export $GOPATH
export GOPATH=$HOME/go export GOPATH=$HOME/go
# Always use Go modules, even inside GOPATH
export GO111MODULE=on
# Add Go binary directory to $PATH # Add Go binary directory to $PATH
export PATH="$PATH:$GOPATH/bin" export PATH="$PATH:$GOPATH/bin"