Versions in this module Expand all Collapse all v3 v3.1.0 May 11, 2023 Changes in this version type Interface + TypeParams []*Parameter v3.0.1 May 4, 2023 v3.0.0 May 3, 2023 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 (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 Other modules containing this package github.com/petergtz/pegomock github.com/petergtz/pegomock/v4