Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
type RegistrationForm struct {
Username string `form:"username" binding:"required"`
Email string `form:"email" binding:"required"`
PasswordA string `form:"passworda" binding:"required"`
PasswordB string `form:"passwordb" binding:"required"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.