Versions in this module Expand all Collapse all v0 v0.5.0 Oct 17, 2024 v0.4.0 Dec 20, 2023 v0.3.0 Sep 16, 2023 v0.2.0 Jul 6, 2023 v0.1.0 Jun 29, 2023 Changes in this version + var ErrorInterface = Interface + 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 + TypeParams []*Parameter + func InterfaceFromInterfaceType(it reflect.Type) (*Interface, error) + func (intf *Interface) AddMethod(m *Method) + 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 + TypeParams *TypeParametersType + func (nt *NamedType) String(pm map[string]string, pkgOverride string) string + type Package struct + DotImports []string + Interfaces []*Interface + Name string + PkgPath 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(map[string]string, string) string + type Type interface + String func(pm map[string]string, pkgOverride string) string + type TypeParametersType struct + TypeParameters []Type + func (tp *TypeParametersType) String(pm map[string]string, pkgOverride string) string