This commit is contained in:
2023-09-12 18:40:24 +08:00
commit d894fea89e
25 changed files with 2179 additions and 0 deletions

7
validator/sub.go Normal file
View File

@ -0,0 +1,7 @@
package validator
type SubQuery struct {
Sub string `form:"sub" json:"name" binding:"required"`
Mix bool `form:"mix,default=false" json:"email" binding:""`
Refresh bool `form:"refresh,default=false" json:"age" binding:""`
}