Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type V ¶
type V[T comparable] struct { // contains filtered or unexported fields }
V is a generic container to expect values to be received. Useful when creating mocks.
func Value ¶
func Value[T comparable](exp T) V[T]
Value creates a V instance that expects the value to be received.
Click to show internal directories.
Click to hide internal directories.