package validate
import "github.com/golang/mock/gomock/internal/validate"
Index ¶
- func InputAndOutputSig(actualFunc, expectedFunc reflect.Type) error
- func InputSig(actualFunc, expectedFunc reflect.Type) error
Functions ¶
func InputAndOutputSig ¶
InputAndOutputSig compares the argument and return signatures of actualFunc against expectedFunc. It returns an error unless everything matches.
func InputSig ¶
InputSig compares the argument signatures of actualFunc against expectedFunc. It returns an error unless everything matches.
Source Files ¶
- Version
- v1.4.2
- Published
- Mar 13, 2020
- Platform
- darwin/amd64
- Imports
- 2 packages
- Last checked
- 4 seconds ago –
Tools for package owners.