I am taking my first steps with Go and following the instructions 
on https://golang.org/doc/install *to the letter*.
I am finding documentation issues that are reproducible on a clean system, 
I can give exact steps to reproduce.

To give one example, the documentation says:

"(If you'd like to use a different directory, you will need to set the 
GOPATH environment variable <https://golang.org/wiki/SettingGOPATH>.)" 

which implies that if you do not set the $GOPATH variable, then the 
operating system default will be used, for example $HOME/go on Linux.

However, if I later follow the instruction "You can run go install to 
install the binary into your workspace's bin directory", then I get an 
error:

go install: no install location for directory /home/amedee/go/src/hello 
outside GOPATH

This is probably easy to fix by always explicitly setting the $GOPATH 
variable, despite of what the documentation says about defaults. I still 
need to confirm it, but it seems the logical solution.


I would like to submit a pull request or a patch to fix this documentation 
issue. I have read the Contribution Guidelines about setting up Gerrit, but 
I can't find the repository with the source code of the golang.org website.

Where and how do I submit patches for the website?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to