配置golang gopath设置

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

You should quote the path like so: export GOPATH="C:/Users/Petey/Documents/go"

Since it is Windows bash, you could also try: export GOPATH="/mnt/c/Users/Petey/Documents/go"