增加验证规则的枚举值 #2

Merged
zhangdeman merged 7 commits from feature/validator into master 2025-02-07 20:52:04 +08:00
d0dbba0156 修复ValidatorRule.String方法NPE异常
白茶清欢
2025-01-24 15:58:04 +08:00
Commit 6 of 7
Show all commits
+3
View File
@@ -12,6 +12,9 @@ package consts
type ValidatorRule string // 验证规则
func (vr *ValidatorRule) String() string {
if nil == vr {
return ""
}
return string(*vr)
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.