diff options
Diffstat (limited to 'core/core.go')
| -rw-r--r-- | core/core.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/core.go b/core/core.go new file mode 100644 index 0000000..e2923c1 --- /dev/null +++ b/core/core.go @@ -0,0 +1,12 @@ +package core + +type Interval struct { + Start, End int +} + +func NewInterval(start, end int) Interval { + return Interval{ + Start: start, + End: end, + } +} |
