Reputation: 117
I am trying to run make run
. But getting this. I do not know to how to set this.
Upvotes: 2
Views: 5657
Reputation: 11551
You need to set the path variable to where your go package is installed. Typically on ubuntu is installed on the /bin
folder. So in your case you have to set it to:
$ export PATH=$PATH:$GOPATH/bin
Check the documentation here: https://golang.org/doc/code.html
Upvotes: 2