package
1.36.2
Repository: https://github.com/onsi/gomega.git
Documentation: pkg.go.dev

# Packages

# Functions

Ignore ignores the actual value and always succeeds.
IndexIdentity is a helper function for using an index as the key in the element map.
MatchAllElements succeeds if every element of a slice matches the element matcher it maps tothrough the id function, and every element matcher is matched.
MatchAllElementsWithIndex succeeds if every element of a slice matches the element matcher it maps tothrough the id with index function, and every element matcher is matched.
MatchAllFields succeeds if every field of a struct matches the field matcher associated withit, and every element matcher is matched.
MatchElements succeeds if each element of a slice matches the element matcher it maps tothrough the id function.
MatchElementsWithIndex succeeds if each element of a slice matches the element matcher it maps tothrough the id with index function.
MatchFields succeeds if each element of a struct matches the field matcher associated withit.
PointTo applies the given matcher to the value pointed to by actual.
Reject ignores the actual value and always fails.

# Constants

AllowDuplicates tells the matcher to permit multiple members of the slice to produce the same ID whenconsidered by the indentifier function.
IgnoreExtras tells the matcher to ignore extra elements or fields, rather than triggering a failure.
IgnoreMissing tells the matcher to ignore missing elements or fields, rather than triggering a failure.

# Structs

ElementsMatcher is a NestingMatcher that applies custom matchers to each element of a slice mapped by the Identifier function.
A matcher that either always succeeds or always fails.

# Interfaces

Interface for identifing the element.

# Type aliases

Element ID to matcher.
Field name to matcher.
Function for identifying (mapping) elements.
Uses the index and element to generate an element name.
Options is the type for options passed to some matchers.