parser

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 License: MIT-0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = struct {
	TitleCase bool
	Debug     bool
}{}

Functions

func Extension added in v0.2.3

func Extension(s string) string

Get only the extension of a filename in lower case

func ParseMusicFileName

func ParseMusicFileName(name string) (Album, Track, error)

Types

type Album

type Album struct {
	Artist string
	Title  string
}

func ParseZipFileName

func ParseZipFileName(name string) (Album, error)

type Track

type Track struct {
	Number    int
	Title     string
	FullTrack string
	FileType  string
}

Jump to

Keyboard shortcuts

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