Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultCapacity = 10
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comparator ¶
func NaturalOrder ¶
func NaturalOrder[T cmp.Ordered]() Comparator[T]
func Reversed ¶
func Reversed[T any](comparator Comparator[T]) Comparator[T]
type Option ¶
func WithComparator ¶
func WithComparator[T any](comparator Comparator[T]) Option[T]
Click to show internal directories.
Click to hide internal directories.