Go语言操作Redis
Redis的Go语言驱动已经很成熟了,用redigo弄了个例子。 package main //Redis测试 //author:Xiong Chuan Liang //date:2015-3-5 import ( "fmt" "time" "log" "github.com/garyburd/redigo/redis" ) func main(){ fmt.Println("Redis:") conn,err := redisConn("","","6"); if err != nil { l...阅读全文