1 package ratelimits 2 3 import ( 4 "testing" 5 6 "github.com/jmhodges/clock" 7 ) 8 9 func newInmemTestLimiter(t *testing.T, clk clock.FakeClock) *Limiter { 10 return newTestLimiter(t, newInmem(), clk) 11 } 12
View as plain text