package
Version:
v1.7.0
Opens a new window with list of versions in this module.
Published: Aug 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func EqualFuncFor[T any]() func(a, b T) bool
EqualFunc returns an equality tester optimised for T.
type Equaler[T any] interface {
Equal(t T) bool
}
Equaler supports equality comparison with values of the same type.
type Samer interface {
Same(a any) bool
}
Samer supports equality comparison with values of any type. It is the
non-generic counterpart of Equaler.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.