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".