We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
as title, where can I get document about validate properties such as eqfield,nefield,gtefield etc...
type Booking struct { CheckIn time.Time form:"check_in" binding:"required" time_format:"2006-01-02"CheckOut time.Timeform:"check_out" binding:"required,gtfield=CheckIn" time_format:"2006-01-02" }
type Booking struct { CheckIn time.Time
CheckOut time.Time
}
The text was updated successfully, but these errors were encountered:
Gin uses go-playground/validator/v10 for validation. You can find tags usage here: https://godoc.org/github.com/go-playground/validator#hdr-Baked_In_Validators_and_Tags.
Sorry, something went wrong.
No branches or pull requests
as title, where can I get document about validate properties such as eqfield,nefield,gtefield etc...
type Booking struct { CheckIn time.Time
form:"check_in" binding:"required" time_format:"2006-01-02"CheckOut time.Time
form:"check_out" binding:"required,gtfield=CheckIn" time_format:"2006-01-02"}
The text was updated successfully, but these errors were encountered: