package main import "time" type RegisterData struct { Username string `json:"username"` MalId int `json:"malId"` Sauce string `json:"sauce"` } type AnimeListMal struct { Data []struct { Node struct { ID int `json:"id"` Title string `json:"title"` MainPicture struct { Medium string `json:"medium"` Large string `json:"large"` } `json:"main_picture"` } `json:"node"` } `json:"data"` Paging struct { Next string `json:"next"` } `json:"paging"` } type UserJikan struct { Data struct { MalID int `json:"mal_id"` Username string `json:"username"` URL string `json:"url"` Images struct { Jpg struct { ImageURL string `json:"image_url"` } `json:"jpg"` Webp struct { ImageURL string `json:"image_url"` } `json:"webp"` } `json:"images"` LastOnline time.Time `json:"last_online"` Gender interface{} `json:"gender"` Birthday interface{} `json:"birthday"` Location string `json:"location"` Joined time.Time `json:"joined"` } `json:"data"` } type SeasonMal struct { Data []struct { Node struct { ID int `json:"id"` Title string `json:"title"` MainPicture struct { Medium string `json:"medium"` Large string `json:"large"` } `json:"main_picture"` } `json:"node"` } `json:"data"` Paging struct { Next string `json:"next"` } `json:"paging"` Season struct { Year int `json:"year"` Season string `json:"season"` } `json:"season"` } type SeasonJikan struct { Pagination struct { LastVisiblePage int `json:"last_visible_page"` HasNextPage bool `json:"has_next_page"` CurrentPage int `json:"current_page"` Items struct { Count int `json:"count"` Total int `json:"total"` PerPage int `json:"per_page"` } `json:"items"` } `json:"pagination"` Data []struct { MalID int `json:"mal_id"` URL string `json:"url"` Images struct { Jpg struct { ImageURL string `json:"image_url"` SmallImageURL string `json:"small_image_url"` LargeImageURL string `json:"large_image_url"` } `json:"jpg"` Webp struct { ImageURL string `json:"image_url"` SmallImageURL string `json:"small_image_url"` LargeImageURL string `json:"large_image_url"` } `json:"webp"` } `json:"images"` Trailer struct { YoutubeID string `json:"youtube_id"` URL string `json:"url"` EmbedURL string `json:"embed_url"` Images struct { ImageURL string `json:"image_url"` SmallImageURL string `json:"small_image_url"` MediumImageURL string `json:"medium_image_url"` LargeImageURL string `json:"large_image_url"` MaximumImageURL string `json:"maximum_image_url"` } `json:"images"` } `json:"trailer"` Title string `json:"title"` TitleEnglish string `json:"title_english"` TitleJapanese string `json:"title_japanese"` TitleSynonyms []string `json:"title_synonyms"` Type string `json:"type"` Source string `json:"source"` Episodes int `json:"episodes"` Status string `json:"status"` Airing bool `json:"airing"` Aired struct { From time.Time `json:"from"` To interface{} `json:"to"` Prop struct { From struct { Day int `json:"day"` Month int `json:"month"` Year int `json:"year"` } `json:"from"` To struct { Day interface{} `json:"day"` Month interface{} `json:"month"` Year interface{} `json:"year"` } `json:"to"` } `json:"prop"` String string `json:"string"` } `json:"aired"` Duration string `json:"duration"` Rating string `json:"rating"` Score float64 `json:"score"` ScoredBy int `json:"scored_by"` Rank int `json:"rank"` Popularity int `json:"popularity"` Members int `json:"members"` Favorites int `json:"favorites"` Synopsis string `json:"synopsis"` Background interface{} `json:"background"` Season string `json:"season"` Year int `json:"year"` Broadcast struct { Day string `json:"day"` Time string `json:"time"` Timezone string `json:"timezone"` String string `json:"string"` } `json:"broadcast"` Producers []struct { MalID int `json:"mal_id"` Type string `json:"type"` Name string `json:"name"` URL string `json:"url"` } `json:"producers"` Licensors []interface{} `json:"licensors"` Studios []struct { MalID int `json:"mal_id"` Type string `json:"type"` Name string `json:"name"` URL string `json:"url"` } `json:"studios"` Genres []struct { MalID int `json:"mal_id"` Type string `json:"type"` Name string `json:"name"` URL string `json:"url"` } `json:"genres"` ExplicitGenres []interface{} `json:"explicit_genres"` Themes []struct { MalID int `json:"mal_id"` Type string `json:"type"` Name string `json:"name"` URL string `json:"url"` } `json:"themes"` Demographics []interface{} `json:"demographics"` } `json:"data"` }