12 lines
218 B
Go
12 lines
218 B
Go
|
package models
|
||
|
|
||
|
type LoginRequest struct {
|
||
|
Username string `json:"username"`
|
||
|
Password string `json:"password"`
|
||
|
}
|
||
|
|
||
|
type RegisterRequest struct {
|
||
|
Username string `json:"username"`
|
||
|
Password string `json:"password"`
|
||
|
}
|