Versions in this module Expand all Collapse all v1 v1.0.0 Sep 30, 2017 Changes in this version + var ErrIteratorComplete = errors.New("iterator complete") + type Import struct + Package string + Path string + type Interface struct + Methods []*Method + Name string + type InterfaceIterator interface + Next func() (string, *ast.InterfaceType, error) + func NewInterfaceIterator(source *ast.File) InterfaceIterator + type InterfaceMapper interface + Map func(InterfaceIterator) map[string]*ast.InterfaceType + func NewInterfaceMapper() InterfaceMapper + type Method struct + In []*Parameter + Name string + Out []*Parameter + type Package struct + Imports []*Import + Interfaces []*Interface + Name string + type PackageParser interface + ParsePackage func(path string) (*Package, error) + func NewParser() PackageParser + type Parameter struct + Name string + Type Type + type Type interface + String func() string + type TypeArray struct + Len int + Type Type + func (t *TypeArray) String() string + type TypeBuiltin string + func (t TypeBuiltin) String() string + type TypeChan struct + ReadOnly bool + Type Type + WriteOnly bool + func (t *TypeChan) String() string + type TypeExported struct + Package string + Type Type + func (t *TypeExported) String() string + type TypeFunc struct + In []Type + Out []Type + func (t *TypeFunc) String() string + type TypeMap struct + Key Type + Value Type + func (t *TypeMap) String() string + type TypePointer struct + Type Type + func (t *TypePointer) String() string + type TypeVariadic struct + Type Type + func (t *TypeVariadic) String() string