14 lines
233 B
Go
14 lines
233 B
Go
package v1
|
|
|
|
// Account response
|
|
type Account struct {
|
|
ID int `json:"id"`
|
|
Username string `json:"username"`
|
|
}
|
|
|
|
// Register body
|
|
type Register struct {
|
|
Username string `json:"username"`
|
|
Password string `json:"password"`
|
|
}
|