Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Character ¶
type Character struct { ID int `json:"id"` Name string `json:"name"` Role string `json:"role"` Image string `json:"image"` }
Character represents simple character model for voice actor.
type Featured ¶ added in v0.5.0
type Featured struct { ID int `json:"id"` Title string `json:"title"` Image string `json:"image"` Summary string `json:"summary"` Username string `json:"username"` View int `json:"view"` IsSpoiler bool `json:"is_spoiler"` IsAdvertorial bool `json:"is_advertorial"` Tags []string `json:"tags"` }
Featured represents the main model for MyAnimeList people feaatured.
type News ¶ added in v0.4.0
type News struct { ID int `json:"id"` Title string `json:"title"` Image string `json:"image"` Content string `json:"content"` Date time.Time `json:"date"` Username string `json:"username"` ForumID int `json:"forum_id"` Comment int `json:"comment"` }
News represents the main model for MyAnimeList people news.
type People ¶
type People struct { ID int `json:"id"` Name string `json:"name"` Image string `json:"image"` GivenName string `json:"givenName"` FamilyName string `json:"familyName"` AlternativeNames []string `json:"alternativeNames"` Birthday time.Time `json:"birthday"` Website string `json:"website"` Favorite int `json:"favorite"` More string `json:"more"` VoiceActors []VoiceActor `json:"voiceActors"` Staff []Staff `json:"staff"` PublishedManga []Staff `json:"publishedManga"` }
People represents the main model for MyAnimeList people information.
type Staff ¶
type Staff struct { ID int `json:"id"` Title string `json:"title"` Image string `json:"image"` Role string `json:"role"` }
Staff represents simple staff model.
type VoiceActor ¶
VoiceActor represents voice actor model with their anime and character role.
Click to show internal directories.
Click to hide internal directories.