Correction on merge. Added Get. Added example.

This commit is contained in:
Daniel Gil
2018-05-29 10:10:33 +02:00
parent 01cb3ccd23
commit 6fdaa341ff
7 changed files with 259 additions and 8 deletions

6
get.go Normal file
View File

@@ -0,0 +1,6 @@
package interval
func (intvls *intervals) Get() []*Interval {
intvls.Sort()
return intvls.Intervals
}