internal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

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

func NewMap

func NewMap[K comparable, V any]() Map[K, V]

func (*Map[K, V]) Clear added in v0.3.0

func (m *Map[K, V]) Clear()

func (*Map[K, V]) Clone

func (m *Map[K, V]) Clone() Map[K, V]

func (*Map[K, V]) Delete

func (m *Map[K, V]) Delete(key K)

func (*Map[K, V]) Exists

func (m *Map[K, V]) Exists(key K) bool

func (*Map[K, V]) Get

func (m *Map[K, V]) Get(key K) (V, bool)

func (*Map[K, V]) Keys

func (m *Map[K, V]) Keys() []K

func (*Map[K, V]) Len

func (m *Map[K, V]) Len() int

func (*Map[K, V]) LoadOrStore added in v0.3.0

func (m *Map[K, V]) LoadOrStore(key K, value V) (V, bool)

func (*Map[K, V]) Map

func (m *Map[K, V]) Map() map[K]V

func (*Map[K, V]) Put

func (m *Map[K, V]) Put(key K, value V)

func (*Map[K, V]) Range

func (m *Map[K, V]) Range(f func(key K, value V) bool)

Directories

Path Synopsis
Package bodyjson shares native typed JSON and presence reconstruction inside Bindly.
Package bodyjson shares native typed JSON and presence reconstruction inside Bindly.
Package field applies immutable field indexes compiled by x/shape.
Package field applies immutable field indexes compiled by x/shape.

Jump to

Keyboard shortcuts

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