package help

import "cmd/go/internal/help"

Package help implements the “go help” command.

Index

Variables

var HelpBuildmode = &base.Command{
	UsageLine: "buildmode",
	Short:     "build modes",
	Long:      "" /* 1560 byte string literal not displayed */,
}
var HelpC = &base.Command{
	UsageLine: "c",
	Short:     "calling between Go and C",
	Long:      "" /* 764 byte string literal not displayed */,
}
var HelpCache = &base.Command{
	UsageLine: "cache",
	Short:     "build and test caching",
	Long:      "" /* 1812 byte string literal not displayed */,
}
var HelpEnvironment = &base.Command{
	UsageLine: "environment",
	Short:     "environment variables",
	Long:      "" /* 4616 byte string literal not displayed */,
}
var HelpFileType = &base.Command{
	UsageLine: "filetype",
	Short:     "file types",
	Long:      "" /* 1609 byte string literal not displayed */,
}
var HelpGopath = &base.Command{
	UsageLine: "gopath",
	Short:     "GOPATH environment variable",
	Long:      "" /* 5505 byte string literal not displayed */,
}
var HelpImportPath = &base.Command{
	UsageLine: "importpath",
	Short:     "import path syntax",
	Long:      "" /* 6825 byte string literal not displayed */,
}
var HelpPackages = &base.Command{
	UsageLine: "packages",
	Short:     "package lists and patterns",
	Long:      "" /* 3479 byte string literal not displayed */,
}

Functions

func Help

func Help(args []string)

Help implements the 'help' command.

func PrintUsage

func PrintUsage(w io.Writer, cmd *base.Command)

Source Files

help.go helpdoc.go

Version
v1.11.13
Published
Aug 13, 2019
Platform
linux/amd64
Imports
10 packages
Last checked
3 seconds ago

Tools for package owners.