Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GO111MODULE=on to environment. #4042

Merged
merged 3 commits into from
Apr 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .pending/improvements/gaia/4042-Add-description
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#4042 Update docs and scripts to include the correct `GO111MODULE=on` environment variable.
1 change: 1 addition & 0 deletions docs/gaia/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
1 change: 1 addition & 0 deletions docs/translations/cn/gaia/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
1 change: 1 addition & 0 deletions docs/translations/kr/gaia/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
2 changes: 1 addition & 1 deletion scripts/install/install_sdk_arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo "export PATH=\$PATH:/usr/local/go/bin" >> ~/.profile
mkdir go
echo "export GOPATH=$HOME/go" >> ~/.profile
echo "export PATH=\$PATH:\$GOPATH/bin" >> ~/.profile

echo "export GO111MODULE=on" >> ~/.profile
source ~/.profile

# get the code and move into repo
Expand Down
2 changes: 1 addition & 1 deletion scripts/install/install_sdk_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ echo "export PATH=\$PATH:/usr/local/go/bin" >> ~/.profile
mkdir go
echo "export GOPATH=$HOME/go" >> ~/.profile
echo "export PATH=\$PATH:\$GOPATH/bin" >> ~/.profile

echo "export GO111MODULE=on" >> ~/.profile
source ~/.profile

# get the code and move into repo
Expand Down