mirror of https://github.com/go-redis/redis.git
Poorman SEO.
This commit is contained in:
parent
96fcac6a43
commit
05394bee7c
19
README.md
19
README.md
|
@ -1,5 +1,4 @@
|
|||
Redis client for Golang [![Build Status](https://travis-ci.org/go-redis/redis.png?branch=master)](https://travis-ci.org/go-redis/redis)
|
||||
=======================
|
||||
# Redis client for Golang [![Build Status](https://travis-ci.org/go-redis/redis.png?branch=master)](https://travis-ci.org/go-redis/redis)
|
||||
|
||||
Supports:
|
||||
|
||||
|
@ -17,15 +16,13 @@ Supports:
|
|||
API docs: http://godoc.org/gopkg.in/redis.v3.
|
||||
Examples: http://godoc.org/gopkg.in/redis.v3#pkg-examples.
|
||||
|
||||
Installation
|
||||
------------
|
||||
## Installation
|
||||
|
||||
Install:
|
||||
|
||||
go get gopkg.in/redis.v3
|
||||
|
||||
Quickstart
|
||||
----------
|
||||
## Quickstart
|
||||
|
||||
```go
|
||||
func ExampleNewClient() {
|
||||
|
@ -65,13 +62,11 @@ func ExampleClient() {
|
|||
}
|
||||
```
|
||||
|
||||
Howto
|
||||
-----
|
||||
## Howto
|
||||
|
||||
Please go through [examples](http://godoc.org/gopkg.in/redis.v3#pkg-examples) to get an idea how to use this package.
|
||||
|
||||
Look and feel
|
||||
-------------
|
||||
## Look and feel
|
||||
|
||||
Some corner cases:
|
||||
|
||||
|
@ -94,3 +89,7 @@ Some corner cases:
|
|||
|
||||
EVAL "return {KEYS[1],ARGV[1]}" 1 "key" "hello"
|
||||
vals, err := client.Eval("return {KEYS[1],ARGV[1]}", []string{"key"}, []string{"hello"}).Result()
|
||||
|
||||
## Shameless plug
|
||||
|
||||
Check my [PostgreSQL client for Go](https://github.com/go-pg/pg).
|
||||
|
|
Loading…
Reference in New Issue