https://github.com/kevinburke/godocdoc
Start godoc and open a HTTP server to the homepage
https://github.com/kevinburke/godocdoc
browser godoc golang
Last synced: 6 months ago
JSON representation
Start godoc and open a HTTP server to the homepage
- Host: GitHub
- URL: https://github.com/kevinburke/godocdoc
- Owner: kevinburke
- License: mit
- Created: 2016-09-19T15:48:46.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-08T21:31:52.000Z (almost 4 years ago)
- Last Synced: 2025-01-29T12:47:28.268Z (8 months ago)
- Topics: browser, godoc, golang
- Language: Go
- Size: 15.6 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# godocdoc
`godocdoc` is a dumb wrapper around Godoc that does two things:
1. Starts godoc
2. Waits for godoc to listen on a port, then opens the doc URL in a web browserIf the working directory is in the GOPATH, `godocdoc` will
open the browser to the location of the current package, i.e.
`http://localhost:6060/pkg/github.com/kevinburke/godoc`.### Configuration
You can change the port by passing `--port=` to `godocdoc`. The `godoc`
binary has a number of formatting options, which are all currently ignored.