Wish you had an offline version of http://golang.org/ (for reference when hacking on the bus, plane, train, etc)? is opening Check out the -http argument to the godoc binary (bundled with go)…. run
godoc -http=:8888 And then open http://127.0.0.1:8888/ in your web browser. Boom. Since Go is named, well, “Go” it’s a real PITA to search for things on the internet. So searching for things like “offline go docs” and “offline golang docs” or “download go docs” and the like tend not to yeild useful results.
Hope this helps someone. I finally stumbled on this on my own after thinking “Fine. I’ll just generate my own!”
One thought on “Go Docs”
Thank you! I found this page via duckduckgo.com, keywords "downloadable golang docs", about the 20th hit.
You must log in to post a comment.