-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d7e64b
commit 6d095e9
Showing
5 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
# export GOPATH=$HOME/go | ||
# export GOPATH=$HOME/GitHub/go | ||
# export PATH=$PATH:$GOPATH/bin | ||
# unset GOROOT | ||
# https://golang.org/doc/gopath_code.html#GOPATH | ||
# export PATH=$PATH:$(go env GOPATH)/bin | ||
|
||
export GOENV_ROOT="$HOME/.goenv" | ||
export PATH="$GOENV_ROOT/bin:$PATH" | ||
eval "$(goenv init -)" | ||
export GOENV_ROOT=$HOME/go | ||
if [[ "$(uname -r | awk -F'-' '{print $3}')" = "Microsoft" ]] ; then | ||
export GOENV_ROOT=/mnt/c/Program\ Files/Go | ||
alias go='go.exe' | ||
fi | ||
|
||
# export GOENV_ROOT="$HOME/.goenv" | ||
export PATH=$GOENV_ROOT/bin:$PATH | ||
eval "$(go env init -)" | ||
export PATH="$GOROOT/bin:$PATH" | ||
export PATH="$PATH:$GOPATH/bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters