Open matthewmueller opened 6 years ago
Sounds sufficent to me. Wanting to program javascript in go usually comes by
What do you think about adding a file like GOSETUP.md or anything else and linking it to the setup section of README? Then we can explain how to install and configure Go in there. Or another option as you said is to put a link to the official Go installation documentation.
For anything complicated, you'll need a $GOPATH and probably Go too.
GOPATH has a fallback value now (as of Go 1.8), so mirror that behavior in Joy if you are looking for the GOPATH.
The GOPATH environment variable now has a default value if it is unset. It defaults to $HOME/go on Unix and %USERPROFILE%/go on Windows.
Yep, taking advantage of this now via go/build
's build.Default.GOPATH
. Pretty rad, I recently setup my brother to use Go and he had a bunch of initial issues because of this. Hopefully this will resolve most of these early headaches.
For anything complicated, you'll need a
$GOPATH
and probably Go too.I think I should probably recommend dl.golang.com since that's worked the best for me. If you have any thoughts here, let me know.
Related: #58