-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Description
For years now, I have laid out source code on my local computer by setting GOPATH to /Users/kevin so repositories get checked out to /Users/kevin/src/github.com/inconshreveable/log15, for example. I frequently need to inspect the source code of third party dependencies, and keeping them all checked out in GOPATH mode is the easiest way to inspect/grep/edit the source code I need.
I also run a godoc (now, golangorg) browser locally to view the documentation for different packages, and to be able to test what documentation will look like in a browser without needing to push it to a remote and then view via e.g. godoc.org. I wrote a shim that wraps around the godoc command that I use to automate starting/opening a browser, available here https://github.com/kevinburke/godocdoc. So I can go to e.g. http://localhost:6060/pkg/github.com/inconshreveable/log15 and view the documentation for that package with near-instantaneous reloading when I edit the documentation.
Some time recently, that stopped working. If I start the golangorg binary and try to visit http://localhost:6060/pkg/github.com/inconshreveable/log15, here's what I get:
I'd appreciate instructions on what I need to do in order to view source code in a browser locally. I'm happy to provide more information about my setup if that's helpful.
