比较提交

..

1 提交

作者 SHA1 备注 提交日期
f6e8ab5514
Add lte and gte 2021-11-11 10:37:14 +01:00

查看文件

@ -113,7 +113,7 @@ func TestRuleEqGtLt(t *testing.T) {
check(t, fail2, 3)
}
func TestRuleEqGteLte(t *testing.T) {
func TestRuleGteLte(t *testing.T) {
type s struct {
U uint `validate:"gte=0,lte=10"`
I int `validate:"gte=-10,lte=0"`