featured

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 Featured struct {
	ID            int      `json:"id"`
	Title         string   `json:"title"`
	Summary       string   `json:"summary"`
	Content       string   `json:"content"`
	Date          string   `json:"date"`
	Username      string   `json:"username"`
	View          int      `json:"view"`
	IsSpoiler     bool     `json:"is_spoiler"`
	IsAdvertorial bool     `json:"is_advertorial"`
	Tags          []string `json:"tags"`
	Related       Related  `json:"related"`
}

Featured represents the main model for MyAnimeList featured.

type List

type List 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"`
}

List represents the main model for MyAnimeList featured list.

type Related struct {
	Anime     []common.IDName `json:"anime"`
	Manga     []common.IDName `json:"manga"`
	People    []common.IDName `json:"people"`
	Character []common.IDName `json:"character"`
}

Related represents featured database relation.

type Tag

type Tag struct {
	Name string `json:"name"`
	Tag  string `json:"tag"`
}

Tag represents the main model for MyAnimeList featured tag.

Jump to

Keyboard shortcuts

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