internal/database: Add missing rows.Close
internal/database: Set max open conns to 64
internal/server: Fix module timestamp not set on error (again)
gddo is a maintained fork of the software that once powered godoc.org, and you can use it to browse documentation for Go packages.
A hosted instance is available at godocs.io.
First install the dependencies:
Then compile and install:
$ make
# make install
gddo can optionally be used with a PostgreSQL database. Note that the following features require a database:
Install the runtime dependencies:
Initialize the PostgreSQL database:
psql -f schema.sql
Then run:
gddo \
--db "postgres://localhost" \
--http :8080 \
--goproxy "https://proxy.golang.org"
gddo also supports standalone operation, which is best for viewing documentation locally. To use it, simply run:
gddo --http :8080
gddo will then begin serving documentation for modules in your local Go module cache. To add a module to the cache, run:
go mod download example.com/module@latest
See go help mod download
for more information.
gddo can also serve documentation over the Gemini protocol.
To serve documentation over Gemini only, run:
gddo --gemini :1965 --certs /var/lib/gemini/certs --hostname example.com
See the documentation for more information.
Send them to the mailing list.