diff options
Diffstat (limited to 'anime/seasonal.structs.go')
-rw-r--r-- | anime/seasonal.structs.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/anime/seasonal.structs.go b/anime/seasonal.structs.go index af5f96c..cdb2dd9 100644 --- a/anime/seasonal.structs.go +++ b/anime/seasonal.structs.go @@ -21,14 +21,16 @@ type SeasonalAnimeRaw struct { Data []struct { Anime Anime `json:"node"` } `json:"data"` - - Paging ListPaging `json:"paging"` Season Season `json:"season"` } // this is how mal2go returns data type SeasonalAnime struct { Animes []Anime - Paging ListPaging Season Season } + +type Season struct { + Year int `json:"year"` + Name string `json:"season"` +} |