search

package
v0.0.0-...-4f247aa Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TrackByNameAndArtist

func TrackByNameAndArtist(trackName, artistName string) (collection.Track, error)

Types

type TrackResponse

type TrackResponse struct {
	Tracks struct {
		Items []struct {
			ID         string `json:"id"`
			Name       string `json:"name"`
			Popularity int    `json:"popularity"`
			Album      struct {
				ID          string `json:"id"`
				Name        string `json:"name"`
				ReleaseDate string `json:"release_date"`
			} `json:"album"`
			Artists []struct {
				ID string `json:"id"`
			} `json:"artists"`
		} `json:"items"`
	} `json:"tracks"`
}

Jump to

Keyboard shortcuts

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