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.
11
11
12
12
## Installation
13
13
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 :
17
17
18
18
``` shell
19
19
go mod init github.com/my/repo
20
- go get github.com/go-redis/redis_rate/v8
21
20
```
22
21
23
- Import :
22
+ And then install redis * rate/v9 (note \_ v9 * in the import; omitting it is a popular mistake) :
24
23
25
- ``` go
26
- import " github.com/go-redis/redis_rate/v8 "
24
+ ``` shell
25
+ go get github.com/go-redis/redis_rate/v9
27
26
```
28
27
29
28
## Example
You can’t perform that action at this time.
0 commit comments