Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Airing ¶
type Airing struct { Start string `json:"start"` End string `json:"end"` Day string `json:"day"` Time string `json:"time"` }
Airing represents anime airing details.
type AlternativeTitle ¶
type AlternativeTitle struct { English string `json:"english"` Japanese string `json:"japanese"` Synonym string `json:"synonym"` }
AlternativeTitle represents anime & manga alternative titles.
type Anime ¶
type Anime struct { ID int `json:"id"` Title string `json:"title"` AlternativeTitles AlternativeTitle `json:"alternativeTitles"` Cover string `json:"cover"` Video string `json:"video"` Synopsis string `json:"synopsis"` Score float64 `json:"score"` Voter int `json:"voter"` Rank int `json:"rank"` Popularity int `json:"popularity"` Member int `json:"member"` Favorite int `json:"favorite"` Type string `json:"type"` Episode int `json:"episode"` Status string `json:"status"` Airing Airing `json:"airing"` Duration string `json:"duration"` Premiered string `json:"premiered"` Source string `json:"source"` Rating string `json:"rating"` Producers []IDName `json:"producers"` Licensors []IDName `json:"licensors"` Studios []IDName `json:"studios"` Genres []IDName `json:"genres"` Related map[string][]Media `json:"related"` Characters []Role `json:"character"` Songs Song `json:"songs"` }
Anime represents anime model retrieved from db.
type Character ¶
type Character struct { ID int `json:"id"` Name string `json:"name"` Nickname string `json:"nickname"` KanjiName string `json:"kanjiName"` Image string `json:"image"` Favorite int `json:"favorite"` About string `json:"about"` Animeography []Media `json:"animeography"` Mangaography []Media `json:"mangaography"` VoiceActors []Role `json:"voiceActors"` }
Character represents character model retrieved from db.
type Manga ¶
type Manga struct { ID int `json:"id"` Title string `json:"title"` AlternativeTitles AlternativeTitle `json:"alternativeTitles"` Cover string `json:"cover"` Synopsis string `json:"synopsis"` Score float64 `json:"score"` Voter int `json:"voter"` Rank int `json:"rank"` Popularity int `json:"popularity"` Member int `json:"member"` Favorite int `json:"favorite"` Type string `json:"type"` Volume int `json:"volume"` Chapter int `json:"chapter"` Status string `json:"status"` Publishing Publishing `json:"publishing"` Genres []IDName `json:"genres"` Authors []Role `json:"authors"` Serializations []IDName `json:"serializations"` Related map[string][]Media `json:"related"` Characters []Role `json:"characters"` }
Manga represents manga model retrieved from db.
type Media ¶
type Media struct { ID int `json:"id"` Name string `json:"name"` Image string `json:"image"` Type string `json:"type"` }
Media represents simple anime/manga model.
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 string `json:"birthday"` Website string `json:"website"` Favorite int `json:"favorite"` More string `json:"more"` VoiceActors []VoiceActor `json:"voiceActors"` Staff []Role `json:"staff"` PublishedManga []Role `json:"publishedManga"` }
People represents people model retrieved from db.
type Publishing ¶
Publishing represents manga publishing dates.
type Role ¶
type Role struct { ID int `json:"id"` Name string `json:"name"` Image string `json:"image"` Role string `json:"role"` VoiceActors []Role `json:"voiceActors,omitempty"` Language string `json:"language,omitempty"` }
Role represents common model of character/people role.
type VoiceActor ¶
VoiceActor represents voice actor model with their anime and character role.
Click to show internal directories.
Click to hide internal directories.