Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPluginMap ¶
func NewPluginMap() map[string][]func(types.DAOContext) ([]Code, error)
Types ¶
type Declare ¶
type Declare struct { Imports types.ImportList Constructor *types.ConstructorDeclare Methods []*types.MethodDeclare }
type FuncDecl ¶
func (*FuncDecl) IsGenerated ¶
type FuncDecls ¶
type FuncDecls []*FuncDecl
func (FuncDecls) FuncNameMap ¶
func (FuncDecls) GeneratedFuncs ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
type MethodGenerator ¶
type MethodGenerator struct {
// contains filtered or unexported fields
}
func (*MethodGenerator) Generate ¶
func (g *MethodGenerator) Generate(importList types.ImportList) *Statement
type MethodGenerators ¶
type MethodGenerators []*MethodGenerator
type PackageDecl ¶
type PackageDecl struct { Funcs FuncDecls Interfaces []*types.MethodDeclare Structs []*Decl Imports types.ImportList }
func (*PackageDecl) InterfaceMap ¶
func (d *PackageDecl) InterfaceMap() map[string]*types.MethodDeclare
Click to show internal directories.
Click to hide internal directories.