Go Packages
communityOfficial Go package discovery and documentation site. Search and browse Go modules.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.pkg.go.dev/searchSearch Go packages
Parameters
qsearch keyword (stringrequiredlimitresults (integeroptionalReturns
results[] with name, package_path, module_path, synopsis, version, licenses[], imported_by_countGET
https://pkg.go.dev/{module_path}Get package documentation
Parameters
module_pathmodule path e.g. github.com/gin-gonic/gin (stringrequiredReturns
package documentation with synopsis, functions, types, constants, examplesGET
https://proxy.golang.org/{module}/@latestGet module info via proxy
Parameters
modulemodule path (stringrequiredReturns
Version, Time (release time), Origin with VCS, URL, Hash