Compare commits

..

1 Commits

Author SHA1 Message Date
Crow Crowcrow f6e8ab5514
Add lte and gte 2021-11-11 10:37:14 +01:00
2 changed files with 1 additions and 4 deletions

3
go.mod
View File

@ -1,3 +0,0 @@
module git.fuyu.moe/Fuyu/validate
go 1.17

View File

@ -143,7 +143,7 @@ func TestRuleGteLte(t *testing.T) {
check(t, fail5, 1)
}
func TestRuleLenMinMax(t *testing.T) {
func TestLenMinMax(t *testing.T) {
type s struct {
A string `validate:"len=3"`
B []int `validate:"min=2"`