Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplateType ¶
type TemplateType struct { Type string // The type's name. Import string // import path of the type. IsPointer bool // whether the value's type is ptr TypePrefix string // The type's prefix, such as [][] }
func (*TemplateType) String ¶
func (typ *TemplateType) String() string
type TypeInfo ¶
type TypeInfo struct { // These fields are reset for each type being generated. Name string // Name of the sync.Map type. Import string // import path of the sync.Map type. TemplateTypes []TemplateType }
GenericType<TemplateType0,TemplateType1,...> Map<github.com/searKing/golang/tools/common/ast/generic.TypeInfo, int>
Click to show internal directories.
Click to hide internal directories.