discography

package
v0.0.0-...-eab7b28 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discography

type Discography struct {
	Title    string              `yaml:"title"`
	Released time.Time           `yaml:"released"`
	Editions map[edition]Edition `yaml:"editions"`
}

func (*Discography) UnmarshalYAML

func (d *Discography) UnmarshalYAML(unmarshal func(interface{}) error) error

type DiscographyList

type DiscographyList []Discography
var (
	All DiscographyList
)

func (DiscographyList) MarshalTable

func (d DiscographyList) MarshalTable() ([]byte, error)

type Edition

type Edition struct {
	CatalogNumber string   `yaml:"catalog_number"`
	Price         int      `yaml:"price"`
	Tracklist     []Song   `yaml:"tracklist"`
	Extras        []string `yaml:"extras"`
}

type Song

type Song struct {
	Name        string   `yaml:"name"`        // FIXME: Or Title?
	Composition string   `yaml:"composition"` // 作曲
	Arrangement string   `yaml:"arrangement"` // 編曲
	Lyrics      string   `yaml:"lyrics"`      // 作詞
	Topics      []string `yaml:"topics"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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