iidxfavlist

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LevelBeginner = "beginner"
	LevelNormal   = "normal"
	LevelHyper    = "hyper"
	LevelAnother  = "another"
	LevelLegend   = "leggendaria"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IIDXFav

type IIDXFav struct {
	Fav        []IIDXFavFile
	FileName   string
	ChartCount int
}

type IIDXFavChart

type IIDXFavChart struct {
	EntryId    int    `json:"entry_id"`
	Difficulty string `json:"difficulty"`
	Title      string `json:"-"`
	Artist     string `json:"-"`
}

type IIDXFavFile

type IIDXFavFile struct {
	Name      string         `json:"name"`
	PlayStyle string         `json:"play_style"`
	Charts    []IIDXFavChart `json:"charts"`
}

type IIDXMusic

type IIDXMusic struct {
	Music []IIDXMusicInfo `xml:"music"`
}

type IIDXMusicInfo

type IIDXMusicInfo struct {
	Info IIDXMusicInfoDetail `xml:"info"`
	ID   int                 `xml:"id,attr"`
}

type IIDXMusicInfoDetail

type IIDXMusicInfoDetail struct {
	ID     int    `xml:"-"`
	Title  string `xml:"title_name"`
	Artist string `xml:"artist_name"`
}

type Iidxfavlist

type Iidxfavlist struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...Options) *Iidxfavlist

New 新建一个应用, Options 动态传入配置(可选)

func (*Iidxfavlist) Run

func (iidx *Iidxfavlist) Run()

Run 执行功能

type Options

type Options func(*Iidxfavlist)

Jump to

Keyboard shortcuts

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