From 8a998a58e65fa435cdfc0134867a422d26af007f Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 16 Jun 2022 18:32:05 +0530 Subject: removed ListPaging from MAL2Go/anime package --- anime/seasonal.structs.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'anime/seasonal.structs.go') 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"` +} -- cgit v1.2.3