package
0.0.2
Repository: https://github.com/google/go-intervals.git
Documentation: pkg.go.dev

# Functions

CheckSorted checks that interval[i+1] is not before interval[i] for all relevant elements of the input slice.
Empty returns a new, empty set of intervals.
EmptyV1 returns a new, empty set of intervals using the semantics of the V1 API, which will require a factory method for construction of an empty interval.
NewImmutableSet returns a new set given a sorted slice of intervals.
NewImmutableSetV1 returns a new set given a sorted slice of intervals.
NewSet returns a new set given a sorted slice of intervals.
NewSetV1 returns a new set given a sorted slice of intervals.

# Structs

ImmutableSet is a set of interval objects.
Set is a set of interval objects used for.

# Interfaces

Interval is the interface for a continuous or discrete span.
SetInput is an interface implemented by Set and ImmutableSet.

# Type aliases

IntervalReceiver is a function used for iterating over a set of intervals.