memos/api/auth.go
2022-08-07 09:23:46 +08:00

13 lines
256 B
Go

package api
type Signin struct {
Email string `json:"email"`
Password string `json:"password"`
}
type Signup struct {
Email string `json:"email"`
Role Role `json:"role"`
Name string `json:"name"`
Password string `json:"password"`
}