mirror of https://github.com/mpolden/echoip
Updating readme.md
Added a few lines under Building, for helping with setting the gopath !
This commit is contained in:
parent
cd16d7e397
commit
fb92e9522e
|
@ -68,6 +68,15 @@ This application can be installed by using `go get`:
|
|||
|
||||
`go get github.com/mpolden/ipd`
|
||||
|
||||
If you get the error $GOPATH not set. For more details see: go help gopath when trying to do **go get github.com/mpolden/ipd**, simply enter this into a terminal:
|
||||
```sh
|
||||
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
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue