animediff

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CanonicalTitle

type CanonicalTitle struct {
	TitleA      string
	TitleB      string
	NumericHash uint64
}

CanonicalTitle describes differing titles.

func (*CanonicalTitle) DetailsA

func (diff *CanonicalTitle) DetailsA() string

DetailsA shows the details for the first anime.

func (*CanonicalTitle) DetailsB

func (diff *CanonicalTitle) DetailsB() string

DetailsB shows the details for the second anime.

func (*CanonicalTitle) Explanation

func (diff *CanonicalTitle) Explanation() string

Explanation returns the description.

func (*CanonicalTitle) Hash

func (diff *CanonicalTitle) Hash() uint64

Hash returns the hash for the suggested value (from anime B).

func (*CanonicalTitle) TypeName

func (diff *CanonicalTitle) TypeName() string

TypeName returns the diff type.

type Difference

type Difference interface {
	TypeName() string
	Explanation() string
	DetailsA() string
	DetailsB() string
	Hash() uint64
}

Difference describes a difference between two anime.

type EndDate

type EndDate struct {
	DateA       string
	DateB       string
	NumericHash uint64
}

EndDate describes differing Romaji titles.

func (*EndDate) DetailsA

func (diff *EndDate) DetailsA() string

DetailsA shows the details for the first anime.

func (*EndDate) DetailsB

func (diff *EndDate) DetailsB() string

DetailsB shows the details for the second anime.

func (*EndDate) Explanation

func (diff *EndDate) Explanation() string

Explanation returns the description.

func (*EndDate) Hash

func (diff *EndDate) Hash() uint64

Hash returns the hash for the suggested value (from anime B).

func (*EndDate) TypeName

func (diff *EndDate) TypeName() string

TypeName returns the diff type.

type EpisodeCount

type EpisodeCount struct {
	EpisodesA   int
	EpisodesB   int
	NumericHash uint64
}

EpisodeCount ...

func (*EpisodeCount) DetailsA

func (diff *EpisodeCount) DetailsA() string

DetailsA shows the details for the first anime.

func (*EpisodeCount) DetailsB

func (diff *EpisodeCount) DetailsB() string

DetailsB shows the details for the second anime.

func (*EpisodeCount) Explanation

func (diff *EpisodeCount) Explanation() string

Explanation returns the description.

func (*EpisodeCount) Hash

func (diff *EpisodeCount) Hash() uint64

Hash returns the hash for the suggested value (from anime B).

func (*EpisodeCount) TypeName

func (diff *EpisodeCount) TypeName() string

TypeName returns the diff type.

type Genres

type Genres struct {
	GenresA     []string
	GenresB     []string
	NumericHash uint64
}

Genres describes differing genres.

func (*Genres) DetailsA

func (diff *Genres) DetailsA() string

DetailsA shows the details for the first anime.

func (*Genres) DetailsB

func (diff *Genres) DetailsB() string

DetailsB shows the details for the second anime.

func (*Genres) Explanation

func (diff *Genres) Explanation() string

Explanation returns the description.

func (*Genres) Hash

func (diff *Genres) Hash() uint64

Hash returns the hash for the suggested value (from anime B).

func (*Genres) TypeName

func (diff *Genres) TypeName() string

TypeName returns the diff type.

type JapaneseTitle

type JapaneseTitle struct {
	TitleA      string
	TitleB      string
	NumericHash uint64
}

JapaneseTitle describes differing Japanese titles.

func (*JapaneseTitle) DetailsA

func (diff *JapaneseTitle) DetailsA() string

DetailsA shows the details for the first anime.

func (*JapaneseTitle) DetailsB

func (diff *JapaneseTitle) DetailsB() string

DetailsB shows the details for the second anime.

func (*JapaneseTitle) Explanation

func (diff *JapaneseTitle) Explanation() string

Explanation returns the description.

func (*JapaneseTitle) Hash

func (diff *JapaneseTitle) Hash() uint64

Hash returns the hash for the suggested value (from anime B).

func (*JapaneseTitle) TypeName

func (diff *JapaneseTitle) TypeName() string

TypeName returns the diff type.

type RomajiTitle

type RomajiTitle struct {
	TitleA      string
	TitleB      string
	NumericHash uint64
}

RomajiTitle describes differing Romaji titles.

func (*RomajiTitle) DetailsA

func (diff *RomajiTitle) DetailsA() string

DetailsA shows the details for the first anime.

func (*RomajiTitle) DetailsB

func (diff *RomajiTitle) DetailsB() string

DetailsB shows the details for the second anime.

func (*RomajiTitle) Explanation

func (diff *RomajiTitle) Explanation() string

Explanation returns the description.

func (*RomajiTitle) Hash

func (diff *RomajiTitle) Hash() uint64

Hash returns the hash for the suggested value (from anime B).

func (*RomajiTitle) TypeName

func (diff *RomajiTitle) TypeName() string

TypeName returns the diff type.

type StartDate

type StartDate struct {
	DateA       string
	DateB       string
	NumericHash uint64
}

StartDate describes differing Romaji titles.

func (*StartDate) DetailsA

func (diff *StartDate) DetailsA() string

DetailsA shows the details for the first anime.

func (*StartDate) DetailsB

func (diff *StartDate) DetailsB() string

DetailsB shows the details for the second anime.

func (*StartDate) Explanation

func (diff *StartDate) Explanation() string

Explanation returns the description.

func (*StartDate) Hash

func (diff *StartDate) Hash() uint64

Hash returns the hash for the suggested value (from anime B).

func (*StartDate) TypeName

func (diff *StartDate) TypeName() string

TypeName returns the diff type.

type Status

type Status struct {
	StatusA     string
	StatusB     string
	NumericHash uint64
}

Status describes differing Romaji titles.

func (*Status) DetailsA

func (diff *Status) DetailsA() string

DetailsA shows the details for the first anime.

func (*Status) DetailsB

func (diff *Status) DetailsB() string

DetailsB shows the details for the second anime.

func (*Status) Explanation

func (diff *Status) Explanation() string

Explanation returns the description.

func (*Status) Hash

func (diff *Status) Hash() uint64

Hash returns the hash for the suggested value (from anime B).

func (*Status) TypeName

func (diff *Status) TypeName() string

TypeName returns the diff type.

type Synopsis

type Synopsis struct {
	SynopsisA   string
	SynopsisB   string
	NumericHash uint64
}

Synopsis describes differing synopsis.

func (*Synopsis) DetailsA

func (diff *Synopsis) DetailsA() string

DetailsA shows the details for the first anime.

func (*Synopsis) DetailsB

func (diff *Synopsis) DetailsB() string

DetailsB shows the details for the second anime.

func (*Synopsis) Explanation

func (diff *Synopsis) Explanation() string

Explanation returns the description.

func (*Synopsis) Hash

func (diff *Synopsis) Hash() uint64

Hash returns the hash for the suggested value (from anime B).

func (*Synopsis) TypeName

func (diff *Synopsis) TypeName() string

TypeName returns the diff type.

Jump to

Keyboard shortcuts

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