This commit is contained in:
daru
2022-04-17 19:46:57 +02:00
parent 4612cd1eb0
commit 4107603e22
5 changed files with 121 additions and 23 deletions

View File

@@ -65,6 +65,18 @@ type UserData struct {
Secret string `json:"secret"`
}
type User struct {
MalID int64 `json:"id"`
Username string `json:"username"`
URL string `json:"url"`
ImageURL string `json:"imageUrl"`
LastOnline time.Time `json:"lastOnline"`
Gender string `json:"gender"`
Birthday time.Time `json:"birthday"`
Location string `json:"location"`
Joined time.Time `json:"joined"`
}
type RegisterData struct {
Username string `json:"username"`
MalID int64 `json:"malId"`