mirror of
https://github.com/usememos/memos.git
synced 2024-12-21 10:11:42 +03:00
18 lines
281 B
Go
18 lines
281 B
Go
package api
|
|
|
|
var (
|
|
UNKNOWN_ID = 0
|
|
)
|
|
|
|
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"`
|
|
}
|