package
Version:
v1.0.5
Opens a new window with list of versions in this module.
Published: Oct 30, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Slice[T any] struct {
}
Slice exposes a slice of a type in a race-free manner.
func (a *Slice[T]) Add(input T)
func (a *Slice[T]) Range(f func(pool T) bool)
func (a *Slice[T]) Reset()
func (a *Slice[T]) Set(values []T)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.