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:
|
Supports:
|
||||||
|
|
||||||
|
@ -17,15 +16,13 @@ Supports:
|
||||||
API docs: http://godoc.org/gopkg.in/redis.v3.
|
API docs: http://godoc.org/gopkg.in/redis.v3.
|
||||||
Examples: http://godoc.org/gopkg.in/redis.v3#pkg-examples.
|
Examples: http://godoc.org/gopkg.in/redis.v3#pkg-examples.
|
||||||
|
|
||||||
Installation
|
## Installation
|
||||||
------------
|
|
||||||
|
|
||||||
Install:
|
Install:
|
||||||
|
|
||||||
go get gopkg.in/redis.v3
|
go get gopkg.in/redis.v3
|
||||||
|
|
||||||
Quickstart
|
## Quickstart
|
||||||
----------
|
|
||||||
|
|
||||||
```go
|
```go
|
||||||
func ExampleNewClient() {
|
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.
|
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:
|
Some corner cases:
|
||||||
|
|
||||||
|
@ -94,3 +89,7 @@ Some corner cases:
|
||||||
|
|
||||||
EVAL "return {KEYS[1],ARGV[1]}" 1 "key" "hello"
|
EVAL "return {KEYS[1],ARGV[1]}" 1 "key" "hello"
|
||||||
vals, err := client.Eval("return {KEYS[1],ARGV[1]}", []string{"key"}, []string{"hello"}).Result()
|
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