search

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: MIT Imports: 1 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"`
	Summary   string  `json:"summary"`
	Type      string  `json:"type"`
	Episode   int     `json:"episode"`
	Score     float64 `json:"score"`
	StartDate string  `json:"startDate"`
	EndDate   string  `json:"endDate"`
	Member    int     `json:"member"`
	Rated     string  `json:"rated"`
}

Anime represents the main model for MyAnimeList anime search result.

type Character

type Character struct {
	ID       int    `json:"id"`
	Name     string `json:"name"`
	Nickname string `json:"nickname"`
	Image    string `json:"image"`
	Anime    []Role `json:"anime"`
	Manga    []Role `json:"manga"`
}

Character represents the main model for MyAnimeList character search result.

type Manga

type Manga struct {
	ID        int     `json:"id"`
	Title     string  `json:"title"`
	Image     string  `json:"image"`
	Summary   string  `json:"summary"`
	Type      string  `json:"type"`
	Volume    int     `json:"volume"`
	Chapter   int     `json:"chapter"`
	Score     float64 `json:"score"`
	StartDate string  `json:"startDate"`
	EndDate   string  `json:"endDate"`
	Member    int     `json:"member"`
}

Manga represents the main model for MyAnimeList manga search result.

type People

type People struct {
	ID       int    `json:"id"`
	Name     string `json:"name"`
	Nickname string `json:"nickname"`
	Image    string `json:"image"`
}

People represents the main model for MyAnimeList people search result.

type Query

type Query struct {
	Query          string
	Page           int
	Type           int
	Score          int
	Status         int
	Producer       int
	Magazine       int
	Rating         int
	StartDate      time.Time
	EndDate        time.Time
	IsExcludeGenre int
	Genre          []int
	Letter         string
}

Query represents anime & manga search query model.

type Role

type Role struct {
	ID    int    `json:"id"`
	Title string `json:"title"`
}

Role represents the simple anime & manga role.

type User

type User struct {
	Name       string `json:"name"`
	Image      string `json:"image"`
	LastOnline string `json:"lastOnline"`
}

User represents the main model for MyAnimeList user search list.

Jump to

Keyboard shortcuts

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