recommendation

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recommend

type Recommend struct {
	Username string `json:"username"`
	Date     string `json:"date"`
	Source   Source `json:"source"`
	Content  string `json:"content"`
}

Recommend represents the main model for MyAnimeList recommendation list.

type Recommendation

type Recommendation struct {
	Source Source `json:"source"`
	Users  []User `json:"users"`
}

Recommendation represents the main model for MyAnimeList recommendation.

type Source

type Source struct {
	Liked       SourceDetail `json:"liked"`
	Recommended SourceDetail `json:"recommended"`
}

Source represents recommendation source (anime/manga) model.

type SourceDetail

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

SourceDetail represents anime/manga source detail model.

type User

type User struct {
	Username string `json:"username"`
	Content  string `json:"content"`
}

User represents simple user model with their recommendation content.

Jump to

Keyboard shortcuts

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