Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.4.0
type Option interface {
// contains filtered or unexported methods
}
An Option applies an option.
func WithGroupVersion ¶ added in v0.5.0
func WithGroupVersion(gv schema.GroupVersion) Option
WithGroupVersion returns an option that sets the GroupVersion.
func WithScheme ¶ added in v0.4.0
WithScheme returns an option that sets the scheme.
type Package ¶
type Package struct {
Pkg *packages.Package
AstPkg *ast.Package
DocPkg *doc.Package
FileSet *token.FileSet
Constants map[string]Constant
Structs map[string]Struct
}
A Package represents a package.
func ParsePackage ¶ added in v0.4.0
ParsePackage parses the package in the given path.
Click to show internal directories.
Click to hide internal directories.