Documentation
¶
Index ¶
- type Map
- type Slice
- func (s *Slice[V]) All() []V
- func (s *Slice[V]) Append(value V)
- func (s *Slice[V]) Find(predicate func(V) bool) (V, int)
- func (s *Slice[V]) Get(index int) (V, bool)
- func (s *Slice[V]) Length() int
- func (s *Slice[V]) Range(f func(index int, value V) bool)
- func (s *Slice[V]) Set(index int, value V) bool
- func (s *Slice[V]) Update(index int, f func(V) V) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map[K comparable, V any] struct { // contains filtered or unexported fields }
func NewMap ¶
func NewMap[K comparable, V any]() *Map[K, V]
Click to show internal directories.
Click to hide internal directories.