File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1+ custom : ['https://uptrace.dev']
Original file line number Diff line number Diff line change @@ -11,19 +11,18 @@ feature.
1111
1212## Installation
1313
14- redis_rate requires a Go version with [ Modules ] ( https://github.com/golang/go/wiki/Modules ) support
15- and uses import versioning . So please make sure to initialize a Go module before installing
16- redis_rate :
14+ redis_rate supports 2 last Go versions and requires a Go version with
15+ [ modules ] ( https://github.com/golang/go/wiki/Modules ) support . So make sure to initialize a Go
16+ module :
1717
1818``` shell
1919go mod init github.com/my/repo
20- go get github.com/go-redis/redis_rate/v8
2120```
2221
23- Import :
22+ And then install redis * rate/v9 (note \_ v9 * in the import; omitting it is a popular mistake) :
2423
25- ``` go
26- import " github.com/go-redis/redis_rate/v8 "
24+ ``` shell
25+ go get github.com/go-redis/redis_rate/v9
2726```
2827
2928## Example
You can’t perform that action at this time.
0 commit comments