Skip to content

Releases: cappuccinotm/trn

Version 0.3.0

29 Jul 15:38
a0b8378
Compare
Choose a tag to compare
  • Added MustRanges and MustRange helper functions to panic at non-nil error.
  • Removed MustBetween, MustStratify, MustSplit methods.
  • Removed impossible case at Truncate method - default with panic.

Version 0.2.0

25 Dec 20:29
2a39268
Compare
Choose a tag to compare
  • Between, Split, Stratify methods now return errors, instead of panicking.
  • Added Must versions of methods above.

initial release

25 Dec 18:53
a13de9c
Compare
Choose a tag to compare
  • Added Range type.
  • Added methods
    • to merge overlapping ranges;
    • flip them in the defined period;
    • truncate;
    • stratify;
    • split.