Documentation
¶
Index ¶
- Constants
- type Any
- type Map
- func (m *Map[K, V]) Get(k K) (V, bool)
- func (m *Map[K, V]) Iter() iter.Seq2[K, V]
- func (m Map[K, V]) MarshalJSON() ([]byte, error)
- func (m *Map[K, V]) Set(k K, v V)
- func (m *Map[K, V]) Size() int
- func (m *Map[K, V]) UnmarshalJSON(value []byte) error
- func (m *Map[K, V]) UnmarshalYAML(node *yaml.Node) error
Constants ¶
View Source
const ( KindNull = iota KindBool KindString KindInt KindFloat KindTimestamp KindSeq KindMap )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
func (Map[K, V]) MarshalJSON ¶
func (*Map[K, V]) UnmarshalJSON ¶
func (*Map[K, V]) UnmarshalYAML ¶
code has been taken from https://github.com/wk8/go-ordered-map/blob/master/yaml.go
Click to show internal directories.
Click to hide internal directories.