Versions in this module Expand all Collapse all v2 v2.3.3 Jun 4, 2020 v2.3.2 May 5, 2020 Changes in this version + type Method struct + func MethodFor(receiver Mock, name string, typ *ast.FuncType) Method + func (m Method) Ast() *ast.FuncDecl + func (m Method) Fields() []*ast.Field + func (m Method) PrependLocalPackage(name string) + type Mock struct + func For(typ *ast.TypeSpec) (Mock, error) + func (m Mock) Ast(chanSize int) []ast.Decl + func (m Mock) Constructor(chanSize int) *ast.FuncDecl + func (m Mock) Decl() *ast.GenDecl + func (m Mock) Methods() (methods []Method) + func (m Mock) Name() string + func (m Mock) PrependLocalPackage(name string) + func (m Mock) SetBlockingReturn(blockingReturn bool) + type Mocks []Mock + func Generate(finder TypeFinder) (Mocks, error) + func (m Mocks) Output(pkg, dir string, chanSize int, dest io.Writer) error + func (m Mocks) PrependLocalPackage(name string) + func (m Mocks) SetBlockingReturn(blockingReturn bool) + type TypeFinder interface + Dependencies func(inter *ast.InterfaceType) (dependencies []types.Dependency) + ExportedTypes func() (types []*ast.TypeSpec) Other modules containing this package github.com/nelsam/hel