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

This commit is contained in:
刘祥超
2020-10-02 17:22:32 +08:00
parent c76f941064
commit 9c6efad81f
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())