摘要:
package main import ( "database/sql" "encoding/json" "fmt" "html/template" "net/http" "net/url" "github.com/drone/routes" "github.com/go-redis/redis" _ "github.com/go-sql-driver/mysql" ) ... 阅读全文
摘要:
package main import ( "fmt" "time" "github.com/go-redis/redis" ) var client *redis.Client func ExampleNewClient() { client = redis.NewClient(&redis.Options{ Addr: "localhost:6379", Pa... 阅读全文