去除缓存

This commit is contained in:
微凉
2021-03-07 21:02:56 +08:00
parent 443067b80f
commit b677d6ad21
19 changed files with 162 additions and 351 deletions

View File

@ -1,7 +1,6 @@
package conf
import (
"github.com/patrickmn/go-cache"
"gorm.io/gorm"
"net/http"
)
@ -16,8 +15,6 @@ var (
Client *http.Client // request client
Authorization string // authorization string
Cache *cache.Cache // cache
DB *gorm.DB
Origins []string // allow origins