mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 00:51:30 +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"`
|
|
}
|