Documentation
¶
Index ¶
- func GetValue[T any](vs []T, idx int, def ...T) (v T, exists bool)
- type SyncSlice
- func (s *SyncSlice[V]) Append(v ...V)
- func (s *SyncSlice[V]) Data() []V
- func (s *SyncSlice[V]) Delete(i int)
- func (s *SyncSlice[V]) Index(i int) V
- func (s *SyncSlice[V]) Len() int
- func (s *SyncSlice[V]) Make(length int, capacity ...int) *SyncSlice[V]
- func (s *SyncSlice[V]) Range(f func(i int, v V) bool)
- func (s *SyncSlice[V]) Set(i int, v V)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.