mirror of
https://github.com/usememos/memos.git
synced 2024-12-27 15:42:51 +08:00
13 lines
256 B
Go
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"`
|
|
}
|