实现缓存策略部分管理功能

This commit is contained in:
GoEdgeLab
2020-10-02 17:22:32 +08:00
parent e4faed22d4
commit 9f4119b892
14 changed files with 595 additions and 56 deletions

View File

@@ -1,7 +1,10 @@
package utils
import "github.com/iwind/TeaGo/logs"
import (
"github.com/iwind/TeaGo/logs"
)
// 打印错误
func PrintError(err error) {
// TODO 记录调用的文件名、行数
logs.Println("[ERROR]" + err.Error())