Documentation ¶
Index ¶
- Variables
- func DownloadFile(url, dst string) error
- func DownloadTrack(track *api.Track, dst string) (string, error)
- func DownloadTrackCover(track *api.Track, dst string) (string, error)
- func Execute()
- func ReadDataFile(workDir types.WorkDir) (types.DataFile, error)
- func WriteDataFile(workDir types.WorkDir, data types.DataFile) error
- type Config
- type Creds
- type Filter
- type FilterFile
Constants ¶
This section is empty.
Variables ¶
View Source
var AppName = "crustle"
View Source
var Commit = "no-commit"
View Source
var Version = "no-version"
Functions ¶
func DownloadFile ¶
Types ¶
type Config ¶
type Filter ¶
type Filter struct { Name string `toml:"name"` Filter string `toml:"filter"` Sort string `toml:"sort"` }
func ReadFilters ¶
type FilterFile ¶
type FilterFile struct {
Filters []Filter `toml:"filters"`
}
Click to show internal directories.
Click to hide internal directories.