Versions in this module Expand all Collapse all v0 v0.3.1 Mar 7, 2022 Changes in this version + type MethodScope struct + func (m *MethodScope) AddVar(vr *types.Var, suffix string) *Var + type Package struct + Alias string + func NewPackage(pkg *types.Package) *Package + func (p *Package) Path() string + func (p *Package) Qualifier() string + type Registry struct + func New(srcDir, moqPkg string) (*Registry, error) + func (r *Registry) AddImport(pkg *types.Package) *Package + func (r *Registry) MethodScope() *MethodScope + func (r Registry) Imports() []*Package + func (r Registry) LookupInterface(name string) (*types.Interface, error) + func (r Registry) SrcPkg() *types.Package + func (r Registry) SrcPkgName() string + type Var struct + Name string + func (v Var) IsSlice() bool + func (v Var) TypeString() string