1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-08 04:55:55 +08:00

fix: lint error

This commit is contained in:
风之凌殇 2021-10-05 04:55:59 +08:00
parent e0bd2a74f4
commit 931e9220da

View File

@ -220,9 +220,12 @@ func (f LogFormat) Format(entry *logrus.Entry) ([]byte, error) {
}
// 为了不引入新依赖,直接将对应库需要的部分复制过来了,具体可参考 github.com\gookit\color@v1.4.2\color.go
// ResetSet 重置色彩 ansi code
const ResetSet = "\x1b[0m"
const (
// SettingTpl 开始色彩 ansi code
SettingTpl = "\x1b[%sm"
)