interval

package
v0.0.0-...-5e76984 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sum

func Sum(a []Interval) int

Types

type FilesIntervals

type FilesIntervals = map[string][]Interval

type Interval

type Interval struct {
	Start int
	End   int
}

func JoinAndSortIntervals

func JoinAndSortIntervals(a []Interval) []Interval

func Union

func Union(a []Interval, b []Interval) []Interval

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL