aboutsummaryrefslogtreecommitdiff
path: root/core/core.go
blob: e2923c1cab2cc6769adb1d06006ebb8e59e63455 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12

package core

type Interval struct {
	Start, End int
}

func NewInterval(start, end int) Interval {
	return Interval{
		Start: start,
		End:   end,
	}
}