Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildSteps = []builder.Builder{ &builder.ZeroCopyStruct{}, &builder.BasicTargetPointerRule{}, &builder.Struct{}, &builder.TargetStruct{}, &builder.Pointer{}, &builder.TargetPointer{}, &builder.Basic{}, &builder.List{}, &builder.Map{}, }
BuildSteps that'll used for generation.
Functions ¶
func ParseMethod ¶
Types ¶
type ParseExtendOptions ¶
type ParseExtendOptions struct { // PkgPath where the extend methods are located. If it is empty, the package is same as the // ConverterInterface package and ConverterScope should be used for the lookup. PkgPath string // Scope of the ConverterInterface. ConverterScope *types.Scope // ConverterInterface to use - can be nil if its use is not allowed. ConverterInterface types.Type // NamePattern is the regexp pattern to search for within the PkgPath above or // (if PkgPath is empty) within the Scope. NamePattern *regexp.Regexp }
ParseExtendOptions holds extend method options.
Click to show internal directories.
Click to hide internal directories.