Package model contains the data model necessary for generating mock implementations.
ArrayType is an array or slice type.
ChanDir is a channel direction.
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. It may be a subset.
Imports returns the imports needed by the Package as a set of import paths.
Parameter is an argument or return parameter of a method.
PointerType is a pointer to another type.
PredeclaredType is a predeclared type such as "int".
Type is a Go type.