Documentation
¶
Index ¶
- type CaseInsensitiveMap
- func (m *CaseInsensitiveMap[T]) Copy() *CaseInsensitiveMap[T]
- func (m *CaseInsensitiveMap[T]) Delete(key string)
- func (m *CaseInsensitiveMap[T]) Get(key string) (T, bool)
- func (m *CaseInsensitiveMap[T]) GetOrDefault(key string, defaultValues ...T) T
- func (m *CaseInsensitiveMap[T]) Has(key string) bool
- func (m *CaseInsensitiveMap[T]) Iterator() iter.Seq2[string, T]
- func (m *CaseInsensitiveMap[T]) Keys() iter.Seq[string]
- func (m *CaseInsensitiveMap[T]) Len() int
- func (m *CaseInsensitiveMap[T]) MarshalJSON() ([]byte, error)
- func (m *CaseInsensitiveMap[T]) Set(key string, value T)
- func (m *CaseInsensitiveMap[T]) UnmarshalJSON(data []byte) error
- func (m *CaseInsensitiveMap[T]) Values() iter.Seq[T]
- type OrderedMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaseInsensitiveMap ¶
type CaseInsensitiveMap[T any] struct { // contains filtered or unexported fields }
func NewCaseInsensitiveMap ¶
func NewCaseInsensitiveMap[T any]() *CaseInsensitiveMap[T]
func NewCaseInsensitiveMapWithCapacity ¶
func NewCaseInsensitiveMapWithCapacity[T any](capacity int) *CaseInsensitiveMap[T]
func (*CaseInsensitiveMap[T]) Copy ¶
func (m *CaseInsensitiveMap[T]) Copy() *CaseInsensitiveMap[T]
func (*CaseInsensitiveMap[T]) Delete ¶
func (m *CaseInsensitiveMap[T]) Delete(key string)
func (*CaseInsensitiveMap[T]) Get ¶
func (m *CaseInsensitiveMap[T]) Get(key string) (T, bool)
func (*CaseInsensitiveMap[T]) GetOrDefault ¶
func (m *CaseInsensitiveMap[T]) GetOrDefault(key string, defaultValues ...T) T
func (*CaseInsensitiveMap[T]) Has ¶
func (m *CaseInsensitiveMap[T]) Has(key string) bool
func (*CaseInsensitiveMap[T]) Iterator ¶
func (m *CaseInsensitiveMap[T]) Iterator() iter.Seq2[string, T]
func (*CaseInsensitiveMap[T]) Len ¶
func (m *CaseInsensitiveMap[T]) Len() int
func (*CaseInsensitiveMap[T]) MarshalJSON ¶
func (m *CaseInsensitiveMap[T]) MarshalJSON() ([]byte, error)
func (*CaseInsensitiveMap[T]) Set ¶
func (m *CaseInsensitiveMap[T]) Set(key string, value T)
func (*CaseInsensitiveMap[T]) UnmarshalJSON ¶
func (m *CaseInsensitiveMap[T]) UnmarshalJSON(data []byte) error
func (*CaseInsensitiveMap[T]) Values ¶
func (m *CaseInsensitiveMap[T]) Values() iter.Seq[T]
type OrderedMap ¶
type OrderedMap[K comparable, V any] struct { *orderedmap.OrderedMap[K, V] // contains filtered or unexported fields }
func NewOrderedMap ¶
func NewOrderedMap[K comparable, V any]() *OrderedMap[K, V]
func (*OrderedMap[K, V]) Copy ¶
func (m *OrderedMap[K, V]) Copy() *OrderedMap[K, V]
func (*OrderedMap[K, V]) Iterator ¶
func (m *OrderedMap[K, V]) Iterator() iter.Seq2[K, V]
func (*OrderedMap[K, V]) MarshalJSON ¶
func (m *OrderedMap[K, V]) MarshalJSON() ([]byte, error)
func (*OrderedMap[K, V]) SetEscapeHTML ¶
func (m *OrderedMap[K, V]) SetEscapeHTML(on bool)
func (*OrderedMap[K, V]) UnmarshalJSON ¶
func (m *OrderedMap[K, V]) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.