You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sonic/model/param/email.go

8 lines
223 B
Go

package param
type TestEmail struct {
To string `json:"to" form:"to" binding:"email"`
Subject string `json:"subject" form:"subject" binding:"gte=1"`
Content string `json:"content" form:"content" binding:"gte=1"`
}