Documentation ¶
Index ¶
- func Equal(a, b interface{}) (bool, error)
- func SyncMapLen(m *sync.Map) int
- type SortedMap
- func (sm *SortedMap) Delete(key string)
- func (sm *SortedMap) GetByIndex(idx int) any
- func (sm *SortedMap) GetByKey(key string) any
- func (sm *SortedMap) GetLatest() any
- func (sm *SortedMap) GetOldest() any
- func (sm *SortedMap) Has(key string) bool
- func (sm *SortedMap) Len() int
- func (sm *SortedMap) Upsert(key string, value any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyncMapLen ¶
Types ¶
type SortedMap ¶
type SortedMap struct {
// contains filtered or unexported fields
}
func NewSortedMap ¶
func NewSortedMap() *SortedMap
func (*SortedMap) GetByIndex ¶
Click to show internal directories.
Click to hide internal directories.