Registry / utility / google-go-intervals

google-go-intervals

JSON →
library0.0.2gogounverified

Go-intervals provides data structures and algorithms for working with intervals and sets of intervals.

go get github.com/google/go-intervals
INSTALL
IMPORT
SIG · GOOGLE-GO-INTERVAL
G
google-go-intervals
utilitygov0.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

intervals
github.com/google/go-intervals

Create an interval set and add an interval.

package main import ( "github.com/google/go-intervals" ) func main() { // Example: create an interval set set := intervals.NewSet[int]() set.Add(intervals.NewInterval(1, 5)) _ = set }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
google-go-intervals — go get google-go-intervals · libregistry