package validate

import "github.com/golang/mock/gomock/internal/validate"

Index

Functions

func InputAndOutputSig

func InputAndOutputSig(actualFunc, expectedFunc reflect.Type) error

InputAndOutputSig compares the argument and return signatures of actualFunc against expectedFunc. It returns an error unless everything matches.

func InputSig

func InputSig(actualFunc, expectedFunc reflect.Type) error

InputSig compares the argument signatures of actualFunc against expectedFunc. It returns an error unless everything matches.

Source Files

validate.go

Version
v1.4.2
Published
Mar 13, 2020
Platform
js/wasm
Imports
2 packages
Last checked
23 seconds ago

Tools for package owners.