equals

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(left, right []byte) bool

func BytesArray

func BytesArray(left, right [][]byte) bool

func BytesArrayPointer

func BytesArrayPointer(left, right *[][]byte) bool

func BytesMap

func BytesMap(left, right map[string][]byte) bool

func BytesMapPointer

func BytesMapPointer(left, right *map[string][]byte) bool

func BytesPointer

func BytesPointer(left, right *[]byte) bool

func ComparableArray

func ComparableArray[T comparable](left, right []T) bool

func ComparableArrayPointer

func ComparableArrayPointer[T comparable](left, right *[]T) bool

func ComparableMap

func ComparableMap[T comparable](left, right map[string]T) bool

func ComparableMapPointer

func ComparableMapPointer[T comparable](left, right *map[string]T) bool

func ComparablePointer

func ComparablePointer[T comparable](left, right *T) bool

func GenericArray

func GenericArray[T any](left, right []T, equals func(left, right T) bool) bool

func GenericArrayPointer

func GenericArrayPointer[T any](left, right *[]T, equals func(left, right T) bool) bool

func GenericMap

func GenericMap[T any](left, right map[string]T, equals func(left, right T) bool) bool

func GenericMapPointer

func GenericMapPointer[T any](left, right *map[string]T, equals func(left, right T) bool) bool

func GenericPointer

func GenericPointer[T any](left, right *T, equals func(left, right T) bool) bool

func ObjectArray

func ObjectArray[T Comparable[T]](left, right []T) bool

func ObjectArrayPointer

func ObjectArrayPointer[T Comparable[T]](left, right *[]T) bool

func ObjectMap

func ObjectMap[T Comparable[T]](left, right map[string]T) bool

func ObjectMapPointer

func ObjectMapPointer[T Comparable[T]](left, right *map[string]T) bool

func ObjectPointer

func ObjectPointer[T Comparable[T]](left, right *T) bool

Types

type Comparable

type Comparable[T any] interface {
	Equals(T) bool
}

Jump to

Keyboard shortcuts

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