aboutsummaryrefslogtreecommitdiff
path: root/anime/general.structs.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2022-02-23 16:06:42 +0000
committerGitHub <noreply@github.com>2022-02-23 16:06:42 +0000
commit90a9cdb89025930fb7f455b423593a0a35799c4a (patch)
tree1bbc1d2b57c7eb8a7a36feb51ce0656cf49faf8a /anime/general.structs.go
parent8c685067611d829e5fb8eeaaba48508d15cd4dde (diff)
parente21dc47f2fe1dd3b1ad47224cd9cc3e75d0835fb (diff)
Merge pull request #6 from MikunoNaka/manga
Manga package completed
Diffstat (limited to 'anime/general.structs.go')
-rw-r--r--anime/general.structs.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/anime/general.structs.go b/anime/general.structs.go
index 47309c3..152eb28 100644
--- a/anime/general.structs.go
+++ b/anime/general.structs.go
@@ -16,11 +16,12 @@
package anime
+import (
+ "github.com/MikunoNaka/MAL2Go/util"
+)
+
// contains previous/next page for anime list
-type ListPaging struct {
- NextPage string `json:"next"`
- PrevPage string `json:"previous"` // might need checking
-}
+type ListPaging util.ListPaging
type Season struct {
Year int `json:"year"`