For “go build” I would get this error:
can’t load package: package hello: cannot find package “hello” in any of:
C:\Go\src\hello (from $GOROOT)
C:\Users\Me\OneDrive\Documents\GitHub\go\src\hello (from $GOPATH)
For “go run hello.go” I would get this error:
package main: cannot find package “.” in:
I ended up just nuking my install and going with the default location of the go folder at Users\Me\go and things seem to be working now. No idea why it couldn’t find my GOPATH when it was a different place (could be that the OneDrive syncing was a problem).