File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
1313 " time"
1414
1515 " github.com/go-redis/redis/v7"
16- " github.com/go-redis/redis_rate/v7 "
16+ " github.com/go-redis/redis_rate/v8 "
1717)
1818
1919func ExampleNewLimiter () {
Original file line number Diff line number Diff line change 55 "time"
66
77 "github.com/go-redis/redis/v7"
8- "github.com/go-redis/redis_rate/v7 "
8+ "github.com/go-redis/redis_rate/v8 "
99)
1010
1111func ExampleNewLimiter () {
Original file line number Diff line number Diff line change 1- module github.com/go-redis/redis_rate/v7
1+ module github.com/go-redis/redis_rate/v8
22
33go 1.13
44
Original file line number Diff line number Diff line change 77 "github.com/go-redis/redis/v7"
88 "github.com/stretchr/testify/assert"
99
10- "github.com/go-redis/redis_rate/v7 "
10+ "github.com/go-redis/redis_rate/v8 "
1111)
1212
1313func rateLimiter (limit * redis_rate.Limit ) * redis_rate.Limiter {
You can’t perform that action at this time.
0 commit comments