aboutsummaryrefslogtreecommitdiff
path: root/anime/search.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/search.structs.go
parentfccd266e2bb014582831d2125b050ee2c0e929c0 (diff)
removed ListPaging from MAL2Go/anime package
Diffstat (limited to 'anime/search.structs.go')
-rw-r--r--anime/search.structs.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/anime/search.structs.go b/anime/search.structs.go
index ff79a4b..c18d572 100644
--- a/anime/search.structs.go
+++ b/anime/search.structs.go
@@ -16,17 +16,8 @@
package anime
-// this is how the API returns data (looks horrible)
type AnimeSearchRaw struct {
Data []struct {
Anime Anime `json:"node"`
} `json:"data"`
-
- Paging ListPaging `json:"paging"`
-}
-
-// this is how mal2go returns data
-type AnimeSearch struct {
- Animes []Anime
- Paging ListPaging
}