Versions in this module Expand all Collapse all v1 v1.7.0-rc.1 May 12, 2022 v1.6.0 Jun 11, 2021 v1.5.0 Feb 19, 2021 Changes in this version + var ErrorInterface = Interface type Interface + func (intf *Interface) AddMethod(m *Method) v1.4.4 Jul 28, 2020 v1.4.3 Mar 16, 2020 v1.4.2 Mar 13, 2020 v1.4.1 Feb 22, 2020 v1.4.0 Jan 20, 2020 Changes in this version type Package + PkgPath string v1.3.1 May 9, 2019 v1.3.0 Apr 26, 2019 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