search

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Anilist

type Anilist struct {
	ID       int      `json:"id"`
	IDMal    int      `json:"idMal"`
	Title    *Title   `json:"title"`
	Synonyms []string `json:"synonyms"`
	IsAdult  bool     `json:"isAdult"`
}

type Episode added in v0.1.1

type Episode string

func (*Episode) UnmarshalJSON added in v0.1.1

func (ep *Episode) UnmarshalJSON(data []byte) error

type Result

type Result struct {
	Anilist    *Anilist `json:"anilist"`
	Filename   string   `json:"filename"`
	Episode    Episode  `json:"episode"`
	From       float64  `json:"from"`
	To         float64  `json:"to"`
	Similarity float64  `json:"similarity"`
	Video      string   `json:"video"`
	Image      string   `json:"image"`
}

type Title

type Title struct {
	Native  string `json:"native"`
	Romaji  string `json:"romaji"`
	English string `json:"english"`
}

type TraceMoeResponse

type TraceMoeResponse struct {
	FrameCount int       `json:"frameCount"`
	Error      string    `json:"error"`
	Result     []*Result `json:"result"`
}

func File

func File(filePath string) (*TraceMoeResponse, error)

Jump to

Keyboard shortcuts

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