user.go 229 B

1234567891011
  1. package dto
  2. type LoginForm struct {
  3. Username string `form:"username"`
  4. Password string `form:"password"`
  5. }
  6. type ChangePasswordForm struct {
  7. OldPassword string `form:"old_password"`
  8. NewPassword string `form:"new_password"`
  9. }