Documentation ¶
Overview ¶
Package resolver provides the ability to locate and document go source packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Doc ¶
type Doc struct { Type DocType `json:"type"` Name string `json:"name"` Repository string `json:"repository"` Header string `json:"header"` Import string `json:"import"` Declaration string `json:"declaration"` Usage string `json:"usage"` Constants string `json:"constants"` Variables string `json:"variables"` Content []Doc `json:"content"` HasTravis bool `json:"hasTravis"` }
Doc represents documentation for a function, type, or package.
type Package ¶
Package represents a go source package.
func NewPackage ¶
NewPackage attempts to resolve a go package from the path provided.
The path can be either the absolute path (ex. /foo/bar/package) or the import path (ex. github.com/foo/bar).
Click to show internal directories.
Click to hide internal directories.