Here are couple of resources for more knowledge
Created
March 14, 2023 17:04
-
-
Save Pradumnasaraf/ca6f9a0507089a4c44881446cdda4aa3 to your computer and use it in GitHub Desktop.
Set `GOPATH` variables in zshell, fish or bash.
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
# Set variables in .bashrc file | |
export GOPATH=$HOME/golang | |
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
# Set variables in .zshrc file | |
export GOPATH=$HOME/golang | |
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
# Set variables in config.fish file | |
# GOLANG configurations | |
set -x GOPATH $HOME/golang | |
set PATH $GOPATH/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment