Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct { ID int `json:"id"` Title string `json:"title"` Image string `json:"image"` Content string `json:"content"` Date string `json:"date"` Username string `json:"username"` ForumID int `json:"forum_id"` Comment int `json:"comment"` }
List represents the main model for MyAnimeList news list.
type News ¶
type News struct { ID int `json:"id"` Title string `json:"title"` Content string `json:"content"` Date string `json:"date"` Username string `json:"username"` ForumID int `json:"forum_id"` Comment int `json:"comment"` Tags []string `json:"tags"` Related Related `json:"related"` }
News represents the main model for MyAnimeList news.
type Related ¶
type Related struct { Anime []common.IDName `json:"anime"` Manga []common.IDName `json:"manga"` People []common.IDName `json:"people"` }
Related represents news database relation.
type Tag ¶ added in v0.5.0
type Tag struct { Name string `json:"name"` Tag string `json:"tag"` Description string `json:"description"` }
Tag represent detail news tags.
type TagCategory ¶ added in v0.5.0
type TagCategory struct { Anime []Tag `json:"anime"` Manga []Tag `json:"manga"` People []Tag `json:"people"` Music []Tag `json:"music"` Event []Tag `json:"event"` Industry []Tag `json:"industry"` }
TagCategory represents the main model for MyAnimeList news tag category list.
Click to show internal directories.
Click to hide internal directories.