package
Version:
v0.0.19
Opens a new window with list of versions in this module.
Published: Nov 15, 2025
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package map_ provides mutable ordered.Map constructors
-
func Empty[K comparable, V any]() *ordered.Map[K, V]
-
func FromSeq2[K comparable, V any](seq seq.Seq2[K, V]) *ordered.Map[K, V]
-
func New[K comparable, V any](capacity int) *ordered.Map[K, V]
-
func Of[K comparable, V any](pairs ...c.KV[K, V]) *ordered.Map[K, V]
Empty instantiates a map with zero capacity
FromSeq2 creates a map with elements retrieved by the seq.
New instantiates a map with a predefined capacity
Of instantiates a ap from the specified key/value pairs
Source Files
¶
Click to show internal directories.
Click to hide internal directories.