//
pkg.gl
Category
git.sr.ht/~nelsam/hel/v4
mock
package
4.1.4
Repository:
https://git.sr.ht/~nelsam/hel
Documentation:
pkg.go.dev
Overview
Versions
3
Dependencies
13
Dependents
1
Files
849 SLOC
#
Packages
test
No description provided by the author
#
Functions
For
For returns a Mock representing typ.
Generate
Generate generates a Mocks value for all exported interface types returned by finder.
MethodFor
MethodFor returns a Method representing typ, using receiver as the Method's receiver type and name as the method name.
#
Variables
ErrUnexported
No description provided by the author
#
Structs
Method
Method represents a method that is being mocked.
Mock
Mock is a mock of an interface type.
Mocks
Mocks is a set of mocks generated from a go package.
#
Interfaces
TypeFinder
TypeFinder represents a type which knows about types and dependencies.