Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Item ¶ added in v0.30.25
func Item[T comparable](t T) func(T) bool
Item create a function that check equality to a supplied literal. It requires comparable items.
Types ¶
type Safe ¶ added in v0.30.25
type Safe[T any] struct { // contains filtered or unexported fields }
Safe is a slice wrapper to provide some concurrent operations. It is optimized for reads using the copy-on-write idiom.
Click to show internal directories.
Click to hide internal directories.