Documentation ¶
Index ¶
- Variables
- type KV
- type SortedMap
- func (m *SortedMap) Copy() *SortedMap
- func (m *SortedMap) Format() []string
- func (m *SortedMap) Get(key interface{}) (interface{}, bool)
- func (m *SortedMap) GetOr(key, dft interface{}) interface{}
- func (m *SortedMap) GetString(key interface{}) (string, bool)
- func (m *SortedMap) GetStringOr(key interface{}, dft string) string
- func (m *SortedMap) HasKey(key interface{}) bool
- func (m *SortedMap) HasValue(value interface{}) bool
- func (m *SortedMap) Insert(sm *SortedMap)
- func (m *SortedMap) Keys() []interface{}
- func (m *SortedMap) Range(iterator func(key, value interface{}))
- func (m *SortedMap) RangeIf(iterator func(key, value interface{}) bool)
- func (m *SortedMap) Remove(key interface{}) (value interface{}, ok bool)
- func (m *SortedMap) Reset()
- func (m *SortedMap) Set(kv KV) error
- func (m *SortedMap) SetExpression(expression string) (key, value interface{}, err error)
- func (m *SortedMap) SetKV(key, value interface{})
- func (m *SortedMap) Values() []interface{}
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidKVExpression = errors.New(`invalid key-value expression`) ErrInvalidKVS = errors.New("the length of kv must be a even number") )
Functions ¶
This section is empty.
Types ¶
type SortedMap ¶
type SortedMap struct {
// contains filtered or unexported fields
}
func (*SortedMap) GetStringOr ¶
func (*SortedMap) SetExpression ¶
Click to show internal directories.
Click to hide internal directories.