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 [-u] [-c] [package|[package.]symbol[.methodOrField]]",
	CustomFlags: true,
	Short:       "show documentation for package or symbol",
	Long:        "" /* 4031 byte string literal not displayed */,
}

Source Files

doc.go

Version
v1.11.0-rc.1
Published
Aug 13, 2018
Platform
js/wasm
Imports
2 packages
Last checked
1 second ago

Tools for package owners.