mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 09:02:49 +03:00
14 lines
256 B
Go
14 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"`
|
|
}
|