Documentation
¶
Index ¶
- type Env
- type EnvMap
- type Map
- func (m *Map[K, V]) Clone() *Map[K, V]
- func (m *Map[K, V]) Delete(key K)
- func (m *Map[K, V]) Get(key K) (V, bool)
- func (m *Map[K, V]) Keys() []K
- func (m *Map[K, V]) Len() int
- func (m *Map[K, V]) MarshalJSON() ([]byte, error)
- func (m *Map[K, V]) Merge(other *Map[K, V])
- func (m *Map[K, V]) Set(key K, value V)
- func (m *Map[K, V]) UnmarshalJSON(b []byte) error
- func (m *Map[K, V]) Unwrap() map[K]V
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 }
Wrapped map[K]V; safe for concurrent use.
func NewMap ¶
func NewMap[K comparable, V any](m map[K]V) *Map[K, V]
func (*Map[K, V]) MarshalJSON ¶
func (*Map[K, V]) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.