package
1.7.0-rc.1
Repository: https://github.com/golang/mock.git
Documentation: pkg.go.dev

# Functions

InterfaceFromInterfaceType returns a pointer to an interface for the given reflection interface type.

# Constants

Constants for channel directions.
Constants for channel directions.

# Variables

ErrorInterface represent built-in error interface.

# Structs

ArrayType is an array or slice type.
ChanType is a channel type.
FuncType is a function type.
Interface is a Go interface.
MapType is a map type.
Method is a single method of an interface.
NamedType is an exported type in a package.
Package is a Go package.
Parameter is an argument or return parameter of a method.
PointerType is a pointer to another type.
TypeParametersType contains type paramters for a NamedType.

# Interfaces

Type is a Go type.

# Type aliases

ChanDir is a channel direction.
PredeclaredType is a predeclared type such as "int".