Versions in this module Expand all Collapse all v1 v1.27.1 Mar 19, 2026 v1.27.0 Mar 19, 2026 Changes in this version + type OrderedMap struct + func New[K comparable, V any](capacity ...int) *OrderedMap[K, V] + func (om *OrderedMap[K, V]) All() iter.Seq2[K, V] + func (om *OrderedMap[K, V]) Delete(key K) (V, bool) + func (om *OrderedMap[K, V]) Get(key K) (V, bool) + func (om *OrderedMap[K, V]) Has(key K) bool + func (om *OrderedMap[K, V]) KeySlice() []K + func (om *OrderedMap[K, V]) Keys() iter.Seq[K] + func (om *OrderedMap[K, V]) Len() int + func (om *OrderedMap[K, V]) MarshalJSON() ([]byte, error) + func (om *OrderedMap[K, V]) MarshalYAML() (any, error) + func (om *OrderedMap[K, V]) Newest() *Pair[K, V] + func (om *OrderedMap[K, V]) Oldest() *Pair[K, V] + func (om *OrderedMap[K, V]) Set(key K, value V) + func (om *OrderedMap[K, V]) UnmarshalJSON(data []byte) error + func (om *OrderedMap[K, V]) UnmarshalYAML(node *yaml.Node) error + func (om *OrderedMap[K, V]) ValueSlice() []V + func (om *OrderedMap[K, V]) Values() iter.Seq[V] + type Pair struct + Key K + Value V + func (p *Pair[K, V]) Next() *Pair[K, V] + func (p *Pair[K, V]) Prev() *Pair[K, V]