2 Star 1 Fork 1

mosache / YFrame

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
errors.go 311 Bytes
一键复制 编辑 原始数据 按行查看 历史
ヤ沒脩袮兲︶ 提交于 2023-12-12 21:00 . win
package redis
import (
"errors"
"strings"
)
var (
ErrMessageNotFoundErr = errors.New("messageNotFound")
)
func IsMessageNotFound(err error) bool {
return errors.Is(err, ErrMessageNotFoundErr)
}
func IsBUSYGROUPErr(err error) bool {
return strings.Contains(err.Error(), "BUSYGROUP")
}
Go
1
https://gitee.com/mosache/YFrame.git
git@gitee.com:mosache/YFrame.git
mosache
YFrame
YFrame
v0.1.73

搜索帮助

53164aa7 5694891 3bd8fe86 5694891