mkdir ~/.go
echo "GOPATH=$HOME/.go" >> ~/.bashrc
echo "export GOPATH" >> ~/.bashrc
echo "PATH=\$PATH:\$GOPATH/bin # Add GOPATH/bin to PATH for scripting" >> ~/.bashrc
source ~/.bashrc
Tuesday, May 23, 2017
5
RakshaTec: Setting GOPATH | golang
mkdir ~/. go echo "GOPATH=$HOME/.go" >> ~/. bashrc echo "export GOPATH" >> ~/. bashrc echo "PATH=\...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment