When I run my cat .bash_profile command via terminal the following message is displayed:
export GOPATH=c:/Users/Petey/Documents/go
I cd into the above, create a main.go and attempt to execute with go run main.go, but I receive this error. What am I doing incorrectly?
go: GOPATH entry is relative; must be absolute path: "c".
c:\Users\Petey\instead ofc:/Users/Petey/export GOPATH='C:\Users\Petey').$HOME/go, so you may not need to set it yourself at all!