validate

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳