💾 Archived View for godocs.io › - › about captured on 2023-12-28 at 15:02:13. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

➡️ Next capture (2024-02-05)

🚧 View Differences

-=-=-=-=-=-=-

About godocs.io

This is a fork of gddo, the software which previously powered the now-defunct godoc.org, operated by Drew DeVault.

Source code

Website issues

Back to home

Documentation

godocs.io generates documentation from Go source code. The guidelines for writing Go documentation apply.

Guidelines for documenting Go code

It's important to write a good summary of the package in the first sentence of the package comment. godocs.io indexes the first sentence and displays it in search results.

Add a package

To add a package to godocs.io, search for the package by import path. If godocs.io does not already have the documentation for the package, it will fetch the package source code from the Go module proxy on the fly.

Search for a package

godocs.io checks for module updates periodically. You can force godocs.io to check for updates by clicking the refresh link at the bottom of the package documentation page. If that doesn't work, it's possible that the module proxy doesn't know about the update yet. You can try fetching the module with 'go get' to force the module proxy to check for updates.

Remove a package

If you do not want godocs.io to display documentation for your package, send mail to sir@cmpwn.com with the import path of the package that you want to remove.