package doc

import "cmd/go/internal/doc"

Package doc implements the “go doc” command.

Index

Variables

var CmdDoc = &base.Command{
	Run:         runDoc,
	UsageLine:   "go doc [doc flags] [package|[package.]symbol[.methodOrField]]",
	CustomFlags: true,
	Short:       "show documentation for package or symbol",
	Long:        "" /* 4357 byte string literal not displayed */,
}

Source Files

doc.go

Version
v1.24.0 (latest)
Published
Feb 10, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
11 minutes ago

Tools for package owners.