lyrics

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package lyrics provides the lyrics information and origin models.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	URL         string    `json:"url"`
	Title       string    `json:"title"`
	Artist      string    `json:"artist"`
	Lyrics      string    `json:"lyrics"`
	ReleaseDate time.Time `json:"release_date,omitempty"`
	Origin      Origin    `json:"origin,omitempty"`
}

Info represents a song's lyrics and metadata.

type Origin

type Origin struct {
	Name    string `json:"name"`
	Website string `json:"url"`
}

Origin contains the details regarding the origin of lyrics.

Jump to

Keyboard shortcuts

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