prime fun + user stash

This commit is contained in:
daru
2022-07-26 20:33:11 +02:00
parent 3771b1d2c4
commit 7fe4181c72
7 changed files with 113 additions and 25 deletions

View File

@@ -67,13 +67,6 @@ type WatchUser struct {
Updated time.Time `json:"updated"`
}
type UserData struct {
Username string `json:"username"`
MalID int64 `json:"malId"`
DiscordID int64 `json:"discordId"`
Secret string `json:"secret"`
}
type User struct {
MalID int64 `json:"id"`
Username string `json:"username"`
@@ -86,6 +79,13 @@ type User struct {
Joined time.Time `json:"joined"`
}
type UserData struct {
Username string `json:"username"`
MalID int64 `json:"malId"`
DiscordID int64 `json:"discordId"`
Secret string `json:"secret"`
}
type RegisterData struct {
Username string `json:"username"`
MalID int64 `json:"malId"`