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:
parent
e0bd2a74f4
commit
931e9220da
@ -220,9 +220,12 @@ func (f LogFormat) Format(entry *logrus.Entry) ([]byte, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 为了不引入新依赖,直接将对应库需要的部分复制过来了,具体可参考 github.com\gookit\color@v1.4.2\color.go
|
// 为了不引入新依赖,直接将对应库需要的部分复制过来了,具体可参考 github.com\gookit\color@v1.4.2\color.go
|
||||||
|
|
||||||
|
// ResetSet 重置色彩 ansi code
|
||||||
const ResetSet = "\x1b[0m"
|
const ResetSet = "\x1b[0m"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
// SettingTpl 开始色彩 ansi code
|
||||||
SettingTpl = "\x1b[%sm"
|
SettingTpl = "\x1b[%sm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user