gohdoc is a command line tool that opens a package’s godoc in the browser. Use like this:
$ gohdoc . # open current dir godoc in the browser $ gohdoc fmt # open pkg fmt $ gohdoc encoding/jso # will open pkg encoding/json
This feels like one of those things that should be included in the Go toolchain. See the repo for more.