internal

package
v0.295.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ErrTypeMismatch errorkit.Error = "ErrTypeMismatch"

Variables

This section is empty.

Functions

func Accessible

func Accessible(rv reflect.Value) reflect.Value

func Equal

func Equal(v1, v2 reflect.Value) bool

func RegisterIsEqual

func RegisterIsEqual(typ reflect.Type, rfn func(v1, v2 reflect.Value) bool)

func TryToMakeAccessible

func TryToMakeAccessible(rv reflect.Value) (reflect.Value, bool)

func ValidateComparedTypes added in v0.292.0

func ValidateComparedTypes(a, b reflect.Value) error

Types

type CompareFunc added in v0.292.0

type CompareFunc func(val, oth reflect.Value) (int, error)

func ImplementsComparable added in v0.292.0

func ImplementsComparable(T reflect.Type) (CompareFunc, bool)

Jump to

Keyboard shortcuts

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