pcmt/handlers/type.go
leo 695039e882
All checks were successful
continuous-integration/drone/push Build is passing
handlers(echo): use c.Bind in sign{in,up}
2023-05-15 23:57:38 +02:00

13 lines
322 B
Go

package handlers
type userSignin struct {
Username string `form:"username" json:"username"`
Password string `form:"password" json:"password"`
}
type userSignup struct {
Username string `form:"username" json:"username"`
Email string `form:"email" json:"email"`
Password string `form:"password" json:"password"`
}