Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator() *Generator
type ImportData ¶
type ImportData struct { Path string Name string Alias string PkgName string InterfaceName string Used bool }
func (ImportData) Selector ¶
func (id ImportData) Selector() string
type InterfaceData ¶
type InterfaceData struct { InterfacePackage string InterfaceName string Imports []*ImportData Methods []*MethodData ImplementationType string OriginalPackageName string }
type MethodData ¶
type MethodData struct { Name string Params []MethodParam Rets []string }
type MethodParam ¶
type MethodParam string
func (MethodParam) IsVariadic ¶
func (m MethodParam) IsVariadic() bool
func (MethodParam) Type ¶
func (m MethodParam) Type() string
type TypeProcessor ¶
type TypeProcessor struct {
// contains filtered or unexported fields
}
func NewTypeProcessor ¶
Click to show internal directories.
Click to hide internal directories.