Skip to content

Commit 7f0b8a7

Browse files
committed
Update readme
1 parent 53c8a9b commit 7f0b8a7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: ['https://uptrace.dev']

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff 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
1919
go 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

0 commit comments

Comments
 (0)