Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseRender ¶
type BaseRender struct {
Version string // cwgo version
PackageName string // package name in target generation go file
Imports map[string]string // key:import path value:import name
}
func (*BaseRender) GetImports ¶
func (bt *BaseRender) GetImports() string
type FuncRender ¶
type InterfaceRender ¶
type InterfaceRender struct {
Name string
Comment string
Methods code.InterfaceMethods
}
type MethodRender ¶
type StructRender ¶
type StructRender struct {
Name string
Comment string
StructFields code.StructFields
}
Click to show internal directories.
Click to hide internal directories.