package
0.0.0-20241226145920-483c662f7ff1
Repository: https://github.com/pingooio/stdx.git
Documentation: pkg.go.dev

# Functions

AnythingOfType returns a special value containing the name of the type to check for.
AssertExpectationsForObjects asserts that everything specified with On and Return of the specified objects was in fact called as expected.
FunctionalOptions returns an [FunctionalOptionsArgument] object containing the expected functional-options to check for.
IsType returns an IsTypeArgument object containing the type to check for.
MatchedBy can be used to match a mock call based on only certain properties from a complex struct or some calculation.

# Constants

Anything is used in Diff and Assert when the argument being tested shouldn't be taken into consideration.

# Structs

Call represents a method call and is used for setting expectations, as well as recording activity.
FunctionalOptionsArgument is a struct that contains the type and value of an functional option argument for use when type checking.
IsTypeArgument is a struct that contains the type of an argument for use when type checking.
Mock is the workhorse used to track activity on another object.

# Interfaces

TestingT is an interface wrapper around *testing.T.

# Type aliases

AnythingOfTypeArgument contains the type of an argument for use when type checking.
Arguments holds an array of method arguments or return values.