aboutsummaryrefslogtreecommitdiff
path: root/anime/general.structs.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-13 13:42:06 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-13 13:42:06 +0530
commit1d3f72c1b48998b86fd1740e893559b6dcaf7663 (patch)
treeb6692c8aa5dbe237408efed07d9a7ade8450080c /anime/general.structs.go
parent4bd702d111c6e4d5455865a7e1fbe5de11899b15 (diff)
modularised the code for easy access of various functions in packages
Diffstat (limited to 'anime/general.structs.go')
-rw-r--r--anime/general.structs.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/anime/general.structs.go b/anime/general.structs.go
index 77bd22a..5df1357 100644
--- a/anime/general.structs.go
+++ b/anime/general.structs.go
@@ -16,25 +16,6 @@
package anime
-/* NOTE: MAL still seems to send some fields
- * even if they aren't requested.
- * those include Title, Picture, Id, etc */
-// default fields to use when none are specified
-var DefaultFields []string = []string{
- "id", "title", "main_picture",
- "alternative_titles", "start_date",
- "end_date", "synopsis", "mean", "rank",
- "popularity", "num_list_users",
- "num_scoring_users", "nsfw", "created_at",
- "updated_at", "media_type", "status",
- "genres", "my_list_status", "num_episodes",
- "start_season", "broadcast", "source",
- "average_episode_duration", "rating",
- "pictures", "background", "related_anime",
- "related_manga", "recommendations",
- "studios", "statistics",
-}
-
// contains previous/next page for anime list
type ListPaging struct {
NextPage string `json:"next"`