Documentation
¶
Overview ¶
Package doc provides the implementation of the "go doc" subcommand and cmd/doc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dir ¶
type Dir struct {
// contains filtered or unexported fields
}
A Dir describes a directory holding code by specifying the expected import path and the file system directory.
type Dirs ¶
type Dirs struct {
// contains filtered or unexported fields
}
Dirs is a structure for scanning the directory tree. Its Next method returns the next Go source directory it finds. Although it can be used to scan the tree multiple times, it only walks the tree once, caching the data it finds.
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
type PackageError ¶
type PackageError string // type returned by pkg.Fatalf.
func (PackageError) Error ¶
func (p PackageError) Error() string
Click to show internal directories.
Click to hide internal directories.