uing pkg module

This commit is contained in:
Ming Deng
2020-07-29 21:56:19 +08:00
parent 7312197732
commit aa06a10493
75 changed files with 192 additions and 181 deletions

View File

@@ -34,12 +34,12 @@ import (
"errors"
"fmt"
"strconv"
"strings"
"time"
"github.com/gomodule/redigo/redis"
"github.com/astaxie/beego/cache"
"strings"
"github.com/astaxie/beego/pkg/cache"
)
var (
@@ -56,7 +56,7 @@ type Cache struct {
password string
maxIdle int
//the timeout to a value less than the redis server's timeout.
// the timeout to a value less than the redis server's timeout.
timeout time.Duration
}