I am following the tutorial (https://golang.org/doc/tutorial/getting-started) to get started using Go and I've already run into a problem. When I run the following code:
package main
import "fmt"
import "rsc.io/quote"
func main() {
fmt.Println(quote.Go())
}
I get the following error message in my console:
C:\Users\myname\Documents\Work\GO\hello>go run hello.go
hello.go:7:8: cannot find package "rsc.io/quote" in any of:
C:\Program Files\Go\src\rsc.io\quote (from $GOROOT)
C:\Users\myname\go\src\rsc.io\quote (from $GOPATH)
I am guessing this is an issue with how/ where I installed Go, can anybody shed some light please?
Thanks