Reputation: 81
I have put this in / go / src /first_webapp server.go
And when I run the command go install first webapp I get this error,
cannot find GOROOT directory: /usr/local/go
Upvotes: 5
Views: 37315
Reputation: 128
Make sure you have installed Golang correctly and set your env variables like it says in here: https://golang.org/doc/install
Upvotes: 2