types

package
v0.0.0-...-718afa2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Album

type Album struct {
	ID     string  `json:"id"`
	Name   string  `json:"name"`
	Year   *int    `json:"year,omitempty"`
	Artist *Artist `json:"artist"`
	Songs  []*Song `json:"songs"`
}

type Artist

type Artist struct {
	ID             string    `json:"id"`
	Name           string    `json:"name"`
	Albums         []*Album  `json:"albums"`
	RelatedArtists []*Artist `json:"relatedArtists"`
}

type Song

type Song struct {
	ID       string  `json:"id"`
	Name     string  `json:"name"`
	Artist   *Artist `json:"artist,omitempty"`
	Album    *Album  `json:"album,omitempty"`
	TrackNum *int    `json:"trackNum,omitempty"`
	Chords   string  `json:"chords"`
}

Jump to

Keyboard shortcuts

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