26 Commits

Author SHA1 Message Date
Daniel Gil
3e69a488f6 Added an example in readme file for highInclusive false v0.1.1 2018-07-05 09:11:34 +02:00
Daniel Gil
e73c928dad renamed pkg from interval to intervals 2018-07-05 09:04:38 +02:00
Daniel Gil
7ab61f4312 fixed example 2018-07-03 12:25:38 +02:00
Daniel Gil
658f7dc53f refactor intervals repo in testcases and example (bitbucket -> github) 2018-07-03 12:22:24 +02:00
Daniel Gil
54e008c3e2 removed cover options from travis configuration 2018-07-03 12:04:13 +02:00
Daniel Gil
e7d0bf85e2 added .travis.yml file 2018-07-03 12:01:11 +02:00
Daniel Gil
81987af8d7 Added travis integration 2018-07-03 11:37:29 +02:00
Daniel Gil
59657e8ba8 moved CHANGELOG file to the root 2018-07-03 11:11:28 +02:00
Daniel Gil
b5b756afe1 add example output image v0.1.0 2018-06-28 16:20:26 +02:00
Daniel Gil
9fe68dbe77 Renaming receiver name to be consistent. 2018-06-28 15:53:30 +02:00
Daniel Gil
2d951cee05 Added License, Readme and Changelog files. Remove Sort() from Intervals interface (not needed because it's called on each operation). 2018-06-28 15:50:17 +02:00
Daniel Gil
a2babcb962 extracted plot functionality into plot.go file 2018-06-01 14:28:57 +02:00
Daniel Gil
c615a3d820 fixed example (now calls the renamed method for getting intervals) 2018-06-01 10:50:15 +02:00
Daniel Gil
217eb78ab4 Added self adjustment minLow and maxHigh values. Renamed Get method to GetIntervals. Removed Report method, moved functionality to the Intervals Springer implementation. Added GetMinLow and GetMaxHigh methods. 2018-06-01 10:46:19 +02:00
Daniel Gil
1d6fd664fa Created new Add function whic allows pass directly low, high and object. 2018-05-31 14:46:54 +02:00
Daniel Gil
f9d1375f1e Added merge and find testcases. 2018-05-31 09:24:37 +02:00
Daniel Gil
98c89357f5 Added check for valid interval in Add function. Added overlap testcases. 2018-05-30 17:16:04 +02:00
Daniel Gil
5128012518 Added gaps testcases. Fixed calculateGaps function. 2018-05-30 11:41:13 +02:00
Daniel Gil
90c4e64922 Added control to prevent invalid low/high ranges 2018-05-29 17:51:41 +02:00
Daniel Gil
6702d50231 Added inclusive / exclusive functionality 2018-05-29 16:08:17 +02:00
Daniel Gil
6fdaa341ff Correction on merge. Added Get. Added example. 2018-05-29 10:10:33 +02:00
Daniel Gil
01cb3ccd23 Added merge functionality 2018-05-28 09:53:03 +02:00
Daniel Gil
786bcb162b splited big file into smaller files by functionality 2018-05-25 13:02:52 +02:00
Daniel Gil
941fe9746a fixed gaps calculations 2018-05-24 18:45:37 +02:00
Daniel Gil
7255f129f5 Added FindIntervalsForValue. Function renaming. 2018-05-24 14:51:00 +02:00
Daniel Gil
21187ac4df first commit 2018-05-24 14:14:10 +02:00