people

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 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 Anime

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

Anime represents simple anime model for voice actor.

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 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            []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

type VoiceActor struct {
	Anime     Anime     `json:"anime"`
	Character Character `json:"character"`
}

VoiceActor represents voice actor model with their anime and character role.

Jump to

Keyboard shortcuts

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