Versions in this module Expand all Collapse all v0 v0.0.10 Apr 6, 2026 Changes in this version + type BoundType uint8 + const EXCLUSIVE + const INCLUSIVE + const OPEN + func (i BoundType) String() string + type Range struct + LowerBoundValue RangeBound[T] + UpperBoundValue RangeBound[T] + func NewRange[T cmp.Ordered](lowerBoundValue RangeBound[T], upperBoundValue RangeBound[T]) *Range[T] + func (ranger *Range[T]) Contains(v T) bool + func (ranger *Range[T]) GetLowerBoundValue() *RangeBound[T] + func (ranger *Range[T]) GetUpperBoundValue() *RangeBound[T] + type RangeBound struct + func Exclusive[T cmp.Ordered](value T) RangeBound[T] + func Inclusive[T cmp.Ordered](value T) RangeBound[T] + func NewRangeBound[T cmp.Ordered](boundType BoundType, value T) RangeBound[T] + func Open[T cmp.Ordered]() RangeBound[T] + func (bound *RangeBound[T]) SetValue(value T) + func (bound *RangeBound[T]) Type() BoundType + func (bound *RangeBound[T]) Value() T + type Ranger interface + Contains func(T) bool + GetLowerBoundValue func() *RangeBound[T] + GetUpperBoundValue func() *RangeBound[T]