Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Safe ¶ added in v2.6.2
type Safe[T any] struct { // contains filtered or unexported fields }
Safe type that can be safely shared between goroutines.
func (*Safe[T]) Append ¶ added in v2.6.2
func (cs *Safe[T]) Append(item T)
Append adds an item to the concurrent slice.
func (*Safe[T]) AppendMany ¶ added in v2.11.0
func (cs *Safe[T]) AppendMany(item ...T)
AppendMany adds many items to the concurrent slice
Click to show internal directories.
Click to hide internal directories.