auth.go 152 B

123456
  1. package models
  2. type LoginForm struct {
  3. Username string `form:"username" validate:"required"`
  4. Password string `form:"password" validate:"required"`
  5. }