util

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtrCompare

func BoolPtrCompare(a, b *bool) int

func FastEqual

func FastEqual[V any](a, b *V, slowEqual func(a, b *V) bool) bool

func PtrCompare

func PtrCompare[T cmp.Ordered](a, b *T) int

func PtrEqual

func PtrEqual[T comparable](a, b *T) bool

func SetEqual

func SetEqual[K comparable, V any](a, b []V, key func(V) K, eq func(a, b V) bool) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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