From 9fe68dbe779644da788469ef438970eac7ac382c Mon Sep 17 00:00:00 2001 From: Daniel Gil Date: Thu, 28 Jun 2018 15:53:30 +0200 Subject: [PATCH] Renaming receiver name to be consistent. --- intervals.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/intervals.go b/intervals.go index 5320c4c..ce15d8d 100644 --- a/intervals.go +++ b/intervals.go @@ -94,18 +94,18 @@ func NewIntervals(minLow, maxHigh int, lowInclusive, highInclusive, selfAdjustMi } } -func (intvls *intervals) IsLowInclusive() bool { - return intvls.LowInclusive +func (itvls *intervals) IsLowInclusive() bool { + return itvls.LowInclusive } -func (intvls *intervals) IsHighInclusive() bool { - return intvls.HighInclusive +func (itvls *intervals) IsHighInclusive() bool { + return itvls.HighInclusive } -func (intvls *intervals) GetMinLow() int { - return intvls.MinLow +func (itvls *intervals) GetMinLow() int { + return itvls.MinLow } -func (intvls *intervals) GetMaxHigh() int { - return intvls.MaxHigh +func (itvls *intervals) GetMaxHigh() int { + return itvls.MaxHigh }