Documentation
¶
Index ¶
- type Manager
- func (m *Manager[K, T]) Add(id K, item T)
- func (m *Manager[K, T]) All() []T
- func (m *Manager[K, T]) Clear()
- func (m *Manager[K, T]) Delete(id K) T
- func (m *Manager[K, T]) Exists(id K) bool
- func (m *Manager[K, T]) Get(id K) T
- func (m *Manager[K, T]) Len() int
- func (m *Manager[K, T]) Range(f func(K, T) bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.