gomarkdoc
import "github.com/phsym/gomarkdoc/cmd/gomarkdoc"
Package gomarkdoc provides a command line interface for writing golang documentation in markdown format.
See https://github.com/phsym/gomarkdoc for full documentation of this tool.
Index
PackageSpec defines the data available to the --output option's template. Information is recomputed for each package generated.
type PackageSpec struct {
// Dir holds the local path where the package is located. If the package is
// a remote package, this will always be ".".
Dir string
// ImportPath holds a representation of the package that should be unique
// for most purposes. If a package is on the filesystem, this is equivalent
// to the value of Dir. For remote packages, this holds the string used to
// import that package in code (e.g. "encoding/json").
ImportPath string
// contains filtered or unexported fields
}
Generated by gomarkdoc