logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Go Documentation - View Go Packages | Online Free DevTools by Hexmos

View Go packages and symbols with Go Documentation. Access exported symbols, source code, and package details quickly. Free online tool, no registration required.

go-doc

View documentation for a package or symbol. More information: https://pkg.go.dev/cmd/go#hdr-Show_documentation_for_package_or_symbol.

  • View documentation for the current package:

go doc

  • Show package documentation and exported symbols:

go doc {{encoding/json}}

  • Show also documentation of symbols:

go doc -all {{encoding/json}}

  • Show also sources:

go doc -all -src {{encoding/json}}

  • Show a specific symbol:

go doc -all -src {{encoding/json.Number}}

See Also