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
darwin/amd64
Imports
2 packages
Last checked
4 seconds ago

Tools for package owners.