cmp

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapEqual

func MapEqual[K comparable, V interface{ Equal(V) bool }](a, b map[K]V) bool

func MapEqualWith added in v1.4.0

func MapEqualWith[K comparable, V any](a, b map[K]V, pred func(a, b V) bool) bool

func SliceEqEq added in v1.4.0

func SliceEqEq[T comparable](a, b []T) bool

func SliceEqEqUnordered added in v1.4.0

func SliceEqEqUnordered[T comparable](a, b []T) bool

func SliceEqual added in v1.4.0

func SliceEqual[T interface{ Equal(T) bool }](a, b []T) bool

func SliceEqualUnordered

func SliceEqualUnordered[T interface{ Equal(T) bool }](a, b []T) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL