code: func (r *RateCounter) WithResolution(resolution int) *RateCounter {
  	if resolution < 1 {
  		panic("RateCounter resolution cannot be less than 1")
  	}
  
  	r.resolution = resolution
  	r.partials = make([]Counter, resolution)
  	r.current = 0
  
  	return r
  }
docs: // WithResolution determines the minimum resolution of this counter, default is 20