Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader is a utility service for extracting type information from a go package
func NewLoader ¶
func NewLoader(pkgLoader func(cfg *packages.Config, patterns ...string) ([]*packages.Package, error)) *Loader
NewLoader creates a loader with the package loader override given in the ctor, this is to aid in testing
type LoadingError ¶
type LoadingError struct {
Errors []error
}
LoadingError holds any errors that occurred while loading a package
func (*LoadingError) Error ¶
func (l *LoadingError) Error() string
Click to show internal directories.
Click to hide internal directories.