redigo moved to gomodule
This commit is contained in:
@@ -9,7 +9,7 @@ As the C language of the 21st century, Go has good support for NoSQL databases,
|
|||||||
redis is a key-value storage system like Memcached, that supports the string, list, set, zset(ordered set) and hash value types.
|
redis is a key-value storage system like Memcached, that supports the string, list, set, zset(ordered set) and hash value types.
|
||||||
|
|
||||||
There are some Go database drivers for redis:
|
There are some Go database drivers for redis:
|
||||||
- [https://github.com/garyburd/redigo](https://github.com/garyburd/redigo)
|
- [https://github.com/gomodule/redigo](https://github.com/gomodule/redigo)
|
||||||
- [https://github.com/go-redis/redis](https://github.com/go-redis/redis)
|
- [https://github.com/go-redis/redis](https://github.com/go-redis/redis)
|
||||||
- [https://github.com/hoisie/redis](https://github.com/hoisie/redis)
|
- [https://github.com/hoisie/redis](https://github.com/hoisie/redis)
|
||||||
- [https://github.com/alphazero/Go-Redis](https://github.com/alphazero/Go-Redis)
|
- [https://github.com/alphazero/Go-Redis](https://github.com/alphazero/Go-Redis)
|
||||||
@@ -22,7 +22,7 @@ Let's see how to use the driver that redigo to operate on a database:
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/garyburd/redigo/redis"
|
"github.com/gomodule/redigo/redis"
|
||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ redis是一个key-value存储系统。和Memcached类似,它支持存储的val
|
|||||||
目前应用redis最广泛的应该是新浪微博平台,其次还有Facebook收购的图片社交网站instagram。以及其他一些有名的[互联网企业](http://redis.io/topics/whos-using-redis)
|
目前应用redis最广泛的应该是新浪微博平台,其次还有Facebook收购的图片社交网站instagram。以及其他一些有名的[互联网企业](http://redis.io/topics/whos-using-redis)
|
||||||
|
|
||||||
Go目前支持redis的驱动有如下
|
Go目前支持redis的驱动有如下
|
||||||
- https://github.com/garyburd/redigo (推荐)
|
- https://github.com/gomodule/redigo (推荐)
|
||||||
- https://github.com/go-redis/redis
|
- https://github.com/go-redis/redis
|
||||||
- https://github.com/hoisie/redis
|
- https://github.com/hoisie/redis
|
||||||
- https://github.com/alphazero/Go-Redis
|
- https://github.com/alphazero/Go-Redis
|
||||||
@@ -27,7 +27,7 @@ import (
|
|||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/garyburd/redigo/redis"
|
"github.com/gomodule/redigo/redis"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
Reference in New Issue
Block a user