Go.dev is a companion website to golang.org. Golang.org is the home of the open source project and distribution, while go.dev is the hub for Go users providing centralized and curated resources from across the Go ecosystem.
- Centralized information for Go packages and modules published on index.golang.org.
- Essential learning resources
- Critical use cases & case studies
Go.dev is currently in MVP status. We’re proud of what we’ve built and excited to share it with the community. We hope you find value and joy in using go.dev. Go.dev only has a small portion of features we intend to build, and we are actively seeking feedback. If you have any ideas, suggestions or issues, please let us know.
Adding a package
Data for the site is downloaded from proxy.golang.org. We monitor the Go Module Index regularly for new packages to add to pkg.go.dev. If you don’t see a package on pkg.go.dev, you can add it by doing one of the following:
- Making a request to proxy.golang.org for the module version, to any endpoint specified by the Module proxy protocol. For example:
- Downloading the package via the go command. For example:
GOPROXY=“https://proxy.golang.org GO111MODULE=on go get firstname.lastname@example.org
Removing a package
If you would like a package removed, please post on the Go Issue Tracker or email email@example.com with the import path or module path that you want to remove.
Note that we can only remove a module entirely from the site. We cannot remove it just for specific versions.
Documentation is generated based on Go source code downloaded from the Go Module Mirror at proxy.golang.org/
The guidelines for writing documentation for the godoc tool apply to pkg.go.dev.
It’s important to write a good summary of the package in the first sentence of the package comment. The go.dev site indexes the first sentence and displays it in search results.
Pkg.go.dev displays the GOOS and GOARCH for the documentation displayed at the bottom of the documentation page.
There are keyboard shortcuts for navigating package documentation pages. Type ‘?’ on a package page for help.
Information for a given package or module may be limited if we are not able to detect a suitable license. See our license policy for more information.
Share your ideas, feature requests, and bugs on the Go Issue Tracker For questions, please post on the #tools slack channel on the Gophers Slack, or email the golang-dev mailing list.