albums

package
v0.0.0-...-d62092d Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SearchAlbum

func SearchAlbum(client http.Client, album string) (SearchAlbumData, []SearchAlbumData, error)

Types

type SearchAlbumData

type SearchAlbumData struct {
	Name      string
	URL       string
	ID        int
	Year      int
	Cover     string
	Artist    string
	ArtistID  int
	ArtistURL string
	Type      types.RecordType
	Tracks    []Track
}

type Track

type Track struct {
	Name    string
	Hours   int
	Minutes int
	Seconds int
}

func GetAlbumInfo

func GetAlbumInfo(client http.Client, recordData SearchAlbumData) ([]Track, string, error)

Jump to

Keyboard shortcuts

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