Created
June 26, 2021 16:29
-
-
Save ecormaksin/02ecc4d95cda31f519dc769b697ab839 to your computer and use it in GitHub Desktop.
add_path_golang_pkg
This file contains hidden or 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
| GOLANG_PKG_PATH=$HOME/go/bin | |
| echo $PATH | grep $GOLANG_PKG_PATH >/dev/null | |
| if [ $? -ne 0 ]; then | |
| export PATH=$GOLANG_PKG_PATH:$PATH | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment