memos/api/auth.go
2022-02-04 16:51:48 +08:00

12 lines
191 B
Go

package api
type Login struct {
Name string `json:"name"`
Password string `json:"password"`
}
type Signup struct {
Name string `json:"name"`
Password string `json:"password"`
}