mirror of
https://github.com/usememos/memos.git
synced 2024-12-24 20:01:48 +03:00
2042737004
* feat: add username field * chore: update
13 lines
231 B
Go
13 lines
231 B
Go
package api
|
|
|
|
type Signin struct {
|
|
Username string `json:"username"`
|
|
Password string `json:"password"`
|
|
}
|
|
|
|
type Signup struct {
|
|
Username string `json:"username"`
|
|
Password string `json:"password"`
|
|
Role Role `json:"role"`
|
|
}
|