Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImportPath ¶
Types ¶
type InterfaceCollector ¶ added in v0.1.4
type InterfaceCollector struct { Interfaces []InterfaceMeta Package PackageMeta }
type InterfaceMeta ¶ added in v0.1.4
type InterfaceMeta struct { Name string Methods []MethodMeta Comments []string }
type MethodMeta ¶ added in v0.1.4
type PackageMeta ¶
type PackageMeta struct {
Name string
}
type StructCollector ¶
type StructCollector struct { Structs []StructMeta Methods map[string][]MethodMeta Package PackageMeta }
func NewStructCollector ¶ added in v0.2.1
func NewStructCollector() *StructCollector
func (*StructCollector) FlatEmbed ¶
func (sc *StructCollector) FlatEmbed() []StructMeta
Only for ddl tool
type StructMeta ¶
type StructMeta struct { Name string Fields []FieldMeta Comments []string Methods []MethodMeta }
Click to show internal directories.
Click to hide internal directories.