Help us shape the future of Go! Take the 2026 Go Developer Survey

recordvalue

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package recordvalue provides shared local filtering and ordering semantics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(x, y reflect.Value) (int, error)

Compare orders values already unwrapped by Indirect, with nil values first.

func Equal

func Equal(x, y reflect.Value) bool

Equal compares unwrapped values using Equal(T) bool or reflect.DeepEqual.

func Indirect

func Indirect(value reflect.Value) reflect.Value

Indirect unwraps pointers and interfaces. Nil becomes an invalid value; cycles stop at the first repeated pointer.

func IsNil

func IsNil(value reflect.Value) bool

IsNil reports whether value is invalid or contains nil without dereferencing.

func OrderableType

func OrderableType(typ reflect.Type) bool

OrderableType reports whether a type supports local ordering. Interface values are checked at comparison time.

func ScalarType

func ScalarType(typ reflect.Type) reflect.Type

ScalarType unwraps pointer types, stopping at the first repeated type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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