aboutsummaryrefslogtreecommitdiff
path: root/anime/seasonal.structs.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-16 18:32:05 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-16 18:32:05 +0530
commit8a998a58e65fa435cdfc0134867a422d26af007f (patch)
tree93e141b28ef582ed79cc8169d41c93047bc2f5a7 /anime/seasonal.structs.go
parentfccd266e2bb014582831d2125b050ee2c0e929c0 (diff)
removed ListPaging from MAL2Go/anime package
Diffstat (limited to 'anime/seasonal.structs.go')
-rw-r--r--anime/seasonal.structs.go8
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"`
+}