lyrics

package
v0.0.0-...-f84b1a6 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Finder

type Finder interface {
	GetLyrics(string, string) (bool, Lyrics)
}

Finder finds lyrics by supporting many sources usage.

func NewFinder

func NewFinder() Finder

type Lyrics

type Lyrics struct {
	Lines      []string
	Language   string
	Translates []Translate `json:"-"`
	Source     string
}

type Translate

type Translate struct {
	Language string
	Title    string
	Author   struct {
		Name string
		Href string
	}
	Lines []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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