Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandBuilderFunc ¶
type CommandBuilderFunc struct {
// contains filtered or unexported fields
}
type CommandBuilderInfo ¶
type CommandBuilderInfo struct { Pkg *packages.Package CommandOptsStruct *ast.TypeSpec TemplateIdent *ast.Ident TemplateType *NamedStructInfo TemplateValue string }
func LoadCommandBuilderInfos ¶
func LoadCommandBuilderInfos(packages []*packages.Package) []*CommandBuilderInfo
type NamedStructInfo ¶
func GetUnderlyingStruct ¶
func GetUnderlyingStruct(v types.Type) (*NamedStructInfo, error)
Click to show internal directories.
Click to hide internal directories.