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
Given a form
{{define "POST /profile UpdateProfile(ctx, form)"}} <form id="update-profile" data-go-type="Profile"> <input type="text" name="first-name" required> <input type="date" name="favorite-holiday" data-time-format="2006-01-02"> </form> {{end}}
Muxt should generate and add it to template_routes.go
type UpdateProfile struct{ FirstName string `name:"first-name"` FavoriteHoliday time.time `name:"favorite-holiday"` }
Initially add validation logic for:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given a form
Muxt should generate and add it to template_routes.go
Support input types
Initially add validation logic for:
The text was updated successfully, but these errors were encountered: