Documentation
¶
Index ¶
- type Map
- type Slice
- func (s *Slice[T]) Append(elems ...T)
- func (s *Slice[T]) AppendUnsafe(elems ...T)
- func (s *Slice[T]) DeleteStable(i int)
- func (s *Slice[T]) DeleteStableUnsafe(i int)
- func (s *Slice[T]) DeleteUnstable(i int)
- func (s *Slice[T]) DeleteUnstableUnsafe(i int)
- func (s *Slice[T]) Get(i int) T
- func (s *Slice[T]) GetUnsafe(i int) T
- func (s *Slice[T]) In(elem T) bool
- func (s *Slice[T]) InUnsafe(elem T) bool
- func (s *Slice[T]) Len() int
- func (s *Slice[T]) LenUnsafe() int
- func (s *Slice[T]) Set(i int, value T)
- func (s *Slice[T]) SetUnsafe(i int, value T)
- type Value
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 { sync.RWMutex // contains filtered or unexported fields }
func (*Map[K, V]) DeleteUnsafe ¶
func (m *Map[K, V]) DeleteUnsafe(key K)
type Slice ¶
type Slice[T comparable] struct { sync.RWMutex // contains filtered or unexported fields }
func (*Slice[T]) AppendUnsafe ¶
func (s *Slice[T]) AppendUnsafe(elems ...T)
func (*Slice[T]) DeleteUnstableUnsafe ¶
Doesn't preserve order
Click to show internal directories.
Click to hide internal directories.