Documentation ¶ Index ¶ type Range func Gaps(total Range, ranges []Range) []Range func MinMax(a, b Range) Range func RangeFromString(s string) Range func SliceFromString(s string) []Range func (r Range) IsZero() bool func (r Range) Stop() int64 func (r Range) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Range ¶ type Range struct { Start int64 Len int64 } func Gaps ¶ func Gaps(total Range, ranges []Range) []Range Gaps in ranges limited by total range func MinMax ¶ func MinMax(a, b Range) Range func RangeFromString ¶ func RangeFromString(s string) Range func SliceFromString ¶ func SliceFromString(s string) []Range func (Range) IsZero ¶ func (r Range) IsZero() bool func (Range) Stop ¶ func (r Range) Stop() int64 func (Range) String ¶ func (r Range) String() string Source Files ¶ View all Source files ranges.go Click to show internal directories. Click to hide internal directories.