Add GO111MODULE=on to environment. (#4042)
This commit is contained in:
committed by
Alessio Treglia
parent
85021d4ca9
commit
055d219301
@@ -11,6 +11,7 @@ mkdir -p $HOME/go/bin
|
||||
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
|
||||
echo "export GOBIN=\$GOPATH/bin" >> ~/.bash_profile
|
||||
echo "export PATH=\$PATH:\$GOBIN" >> ~/.bash_profile
|
||||
echo "export GO111MODULE=on" >> ~/.bash_profile
|
||||
source ~/.bash_profile
|
||||
```
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ mkdir -p $HOME/go/bin
|
||||
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
|
||||
echo "export GOBIN=\$GOPATH/bin" >> ~/.bash_profile
|
||||
echo "export PATH=\$PATH:\$GOBIN" >> ~/.bash_profile
|
||||
echo "export GO111MODULE=on" >> ~/.bash_profile
|
||||
source ~/.bash_profile
|
||||
```
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ mkdir -p $HOME/go/bin
|
||||
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
|
||||
echo "export GOBIN=\$GOPATH/bin" >> ~/.bash_profile
|
||||
echo "export PATH=\$PATH:\$GOBIN" >> ~/.bash_profile
|
||||
echo "export GO111MODULE=on" >> ~/.bash_profile
|
||||
source ~/.bash_profile
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user