code: func NewRateCounter(intrvl time.Duration) *RateCounter {
  	ratecounter := &RateCounter{
  		interval: intrvl,
  		running:  0,
  	}
  
  	return ratecounter.WithResolution(20)
  }
docs: // NewRateCounter Constructs a new RateCounter, for the interval provided