lower_map

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT Imports: 1 Imported by: ? 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 KeyLoweredMap

type KeyLoweredMap[K ~string, V any] struct {
	// contains filtered or unexported fields
}

func NewKeyLoweredMap

func NewKeyLoweredMap[K ~string, V any](opts ...LoweredMapOpt[K, V]) *KeyLoweredMap[K, V]

func (*KeyLoweredMap[K, V]) Foreach

func (d *KeyLoweredMap[K, V]) Foreach(callback func(key K, value V))

func (*KeyLoweredMap[K, V]) MapGet

func (d *KeyLoweredMap[K, V]) MapGet(key K) V

func (*KeyLoweredMap[K, V]) MapGetValue

func (d *KeyLoweredMap[K, V]) MapGetValue(key K) (V, bool)

func (*KeyLoweredMap[K, V]) MapSet

func (d *KeyLoweredMap[K, V]) MapSet(key K, value V)

type LoweredMapOpt

type LoweredMapOpt[K ~string, V any] func(m *KeyLoweredMap[K, V])

func WithData

func WithData[K ~string, V any](data map[K]V) LoweredMapOpt[K, V]

Jump to

Keyboard shortcuts

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