internal

package
v0.0.0-...-37ae4d6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pair

type Pair[K comparable, V any] struct {
	Key   K
	Value V
}

type Record

type Record[K comparable, V any] struct {
	// contains filtered or unexported fields
}

func (*Record[K, V]) Delete

func (r *Record[K, V]) Delete(key K) (didDelete bool)

func (*Record[K, V]) Get

func (r *Record[K, V]) Get(key K) (V, bool)

func (Record[K, V]) IsZero

func (r Record[K, V]) IsZero() bool

func (*Record[K, V]) KeyValues

func (r *Record[K, V]) KeyValues() iter.Seq2[K, V]

func (*Record[K, V]) Len

func (r *Record[K, V]) Len() int

func (Record[K, V]) MarshalJSONTo

func (r Record[K, V]) MarshalJSONTo(enc *jsontext.Encoder) error

func (*Record[K, V]) Set

func (r *Record[K, V]) Set(key K, value V) bool

func (*Record[K, V]) UnmarshalJSONFrom

func (r *Record[K, V]) UnmarshalJSONFrom(d *jsontext.Decoder) error

Jump to

Keyboard shortcuts

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