forked from mirror/redis
Merge pull request #507 from go-redis/fix/update-readme
readme: remove gopkg.in
This commit is contained in:
commit
43b61bd319
28
README.md
28
README.md
|
@ -3,34 +3,34 @@
|
||||||
Supports:
|
Supports:
|
||||||
|
|
||||||
- Redis 3 commands except QUIT, MONITOR, SLOWLOG and SYNC.
|
- Redis 3 commands except QUIT, MONITOR, SLOWLOG and SYNC.
|
||||||
- [Pub/Sub](https://godoc.org/gopkg.in/redis.v5#PubSub).
|
- [Pub/Sub](https://godoc.org/github.com/go-redis/redis#PubSub).
|
||||||
- [Transactions](https://godoc.org/gopkg.in/redis.v5#Multi).
|
- [Transactions](https://godoc.org/github.com/go-redis/redis#Multi).
|
||||||
- [Pipeline](https://godoc.org/gopkg.in/redis.v5#example-Client-Pipeline) and [TxPipeline](https://godoc.org/gopkg.in/redis.v5#example-Client-TxPipeline).
|
- [Pipeline](https://godoc.org/github.com/go-redis/redis#example-Client-Pipeline) and [TxPipeline](https://godoc.org/github.com/go-redis/redis#example-Client-TxPipeline).
|
||||||
- [Scripting](https://godoc.org/gopkg.in/redis.v5#Script).
|
- [Scripting](https://godoc.org/github.com/go-redis/redis#Script).
|
||||||
- [Timeouts](https://godoc.org/gopkg.in/redis.v5#Options).
|
- [Timeouts](https://godoc.org/github.com/go-redis/redis#Options).
|
||||||
- [Redis Sentinel](https://godoc.org/gopkg.in/redis.v5#NewFailoverClient).
|
- [Redis Sentinel](https://godoc.org/github.com/go-redis/redis#NewFailoverClient).
|
||||||
- [Redis Cluster](https://godoc.org/gopkg.in/redis.v5#NewClusterClient).
|
- [Redis Cluster](https://godoc.org/github.com/go-redis/redis#NewClusterClient).
|
||||||
- [Ring](https://godoc.org/gopkg.in/redis.v5#NewRing).
|
- [Ring](https://godoc.org/github.com/go-redis/redis#NewRing).
|
||||||
- [Instrumentation](https://godoc.org/gopkg.in/redis.v5#ex-package--Instrumentation).
|
- [Instrumentation](https://godoc.org/github.com/go-redis/redis#ex-package--Instrumentation).
|
||||||
- [Cache friendly](https://github.com/go-redis/cache).
|
- [Cache friendly](https://github.com/go-redis/cache).
|
||||||
- [Rate limiting](https://github.com/go-redis/rate).
|
- [Rate limiting](https://github.com/go-redis/rate).
|
||||||
- [Distributed Locks](https://github.com/bsm/redis-lock).
|
- [Distributed Locks](https://github.com/bsm/redis-lock).
|
||||||
|
|
||||||
API docs: https://godoc.org/gopkg.in/redis.v5.
|
API docs: https://godoc.org/github.com/go-redis/redis.
|
||||||
Examples: https://godoc.org/gopkg.in/redis.v5#pkg-examples.
|
Examples: https://godoc.org/github.com/go-redis/redis#pkg-examples.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Install:
|
Install:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
go get gopkg.in/redis.v5
|
go get -u github.com/go-redis/redis
|
||||||
```
|
```
|
||||||
|
|
||||||
Import:
|
Import:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "gopkg.in/redis.v5"
|
import "github.com/go-redis/redis"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
@ -75,7 +75,7 @@ func ExampleClient() {
|
||||||
|
|
||||||
## Howto
|
## Howto
|
||||||
|
|
||||||
Please go through [examples](https://godoc.org/gopkg.in/redis.v5#pkg-examples) to get an idea how to use this package.
|
Please go through [examples](https://godoc.org/github.com/go-redis/redis#pkg-examples) to get an idea how to use this package.
|
||||||
|
|
||||||
## Look and feel
|
## Look and feel
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue