character

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 0 Imported by: 0

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"`
	Image        string       `json:"image"`
	Nickname     string       `json:"nickname"`
	Name         string       `json:"name"`
	KanjiName    string       `json:"kanjiName"`
	Favorite     int          `json:"favorite"`
	About        string       `json:"about"`
	Animeography []Ography    `json:"animeography"`
	Mangaography []Ography    `json:"mangaography"`
	VoiceActors  []VoiceActor `json:"voiceActors"`
}

Character represents the main model for MyAnimeList character information.

type Club added in v0.5.0

type Club struct {
	ID     int    `json:"id"`
	Name   string `json:"name"`
	Member int    `json:"member"`
}

Club represents the main model for MyAnimeList character clubs.

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 character feaatured.

type Ography

type Ography struct {
	ID    int    `json:"id"`
	Title string `json:"title"`
	Image string `json:"image"`
	Role  string `json:"role"`
}

Ography represents simple animeography and mangaopgrahy.

type VoiceActor

type VoiceActor struct {
	ID    int    `json:"id"`
	Name  string `json:"name"`
	Role  string `json:"role"`
	Image string `json:"image"`
}

VoiceActor represents simple model of character's voice actor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL