Versions in this module Expand all Collapse all v1 v1.7.5 Oct 18, 2022 v1.7.4 Oct 16, 2022 v1.7.3 Sep 22, 2022 v1.7.2 Sep 22, 2022 v1.7.1 Sep 22, 2022 Changes in this version + var ErrorInterface = Interface type Interface + TypeParams []*Parameter + func (intf *Interface) AddMethod(m *Method) + func (intf *Interface) TypeParamIndexByName(name string) int type Method + func (m *Method) Clone() *Method type NamedType + TypeParams *TypeParametersType type Package + PkgPath string + type TypeParametersType struct + TypeParameters []Type + func (tp *TypeParametersType) String(pm map[string]string, pkgOverride string) string v1.2.0 Dec 8, 2018 v1.1.1 Apr 5, 2018 v1.1.0 Apr 4, 2018 v1.0.1 Apr 3, 2018 v1.0.0 Jul 22, 2017 Changes in this version + type ArrayType struct + Len int + Type Type + func (at *ArrayType) String(pm map[string]string, pkgOverride string) string + type ChanDir int + const RecvDir + const SendDir + type ChanType struct + Dir ChanDir + Type Type + func (ct *ChanType) String(pm map[string]string, pkgOverride string) string + type FuncType struct + In []*Parameter + Out []*Parameter + Variadic *Parameter + func (ft *FuncType) String(pm map[string]string, pkgOverride string) string + type Interface struct + Methods []*Method + Name string + func InterfaceFromInterfaceType(it reflect.Type) (*Interface, error) + func (intf *Interface) Print(w io.Writer) + type MapType struct + Key Type + Value Type + func (mt *MapType) String(pm map[string]string, pkgOverride string) string + type Method struct + In []*Parameter + Name string + Out []*Parameter + Variadic *Parameter + func (m *Method) Print(w io.Writer) + type NamedType struct + Package string + Type string + func (nt *NamedType) String(pm map[string]string, pkgOverride string) string + type Package struct + DotImports []string + Interfaces []*Interface + Name string + func (pkg *Package) Imports() map[string]bool + func (pkg *Package) Print(w io.Writer) + type Parameter struct + Name string + Type Type + func (p *Parameter) Print(w io.Writer) + type PointerType struct + Type Type + func (pt *PointerType) String(pm map[string]string, pkgOverride string) string + type PredeclaredType string + func (pt PredeclaredType) String(pm map[string]string, pkgOverride string) string + type Type interface + String func(pm map[string]string, pkgOverride string) string