Documentation ¶
Index ¶
- Constants
- Variables
- func ColorPrintf(format string, a ...any)
- func GetInputPath(path string) (string, error)
- func GetOutputFileNoExt(originFile string) string
- func GetOutputFileWithExt(originFile, ext string) string
- func InitJSONConfig(receiver any, fileName string)
- func InitYAMLConfig(receiver any, fileName string)
- func ReadM3U(file string) (s types.Slice[*types.MP3], err error)
- func SearchConfigFile(fileName string, searchPaths ...string) (string, error)
- func SnowflakeMachineID() uint16
- func WriteCSV(s types.Slice[*types.MP3], outputFile string) error
- func WriteChart(s types.Slice[*types.MP3], outputFile string) error
Constants ¶
Variables ¶
View Source
var (
ErrConfigFileMissing = errors.New("config file missing")
)
Functions ¶
func ColorPrintf ¶
func GetInputPath ¶
func GetOutputFileNoExt ¶
func GetOutputFileWithExt ¶
func InitJSONConfig ¶ added in v1.1.5
func InitYAMLConfig ¶ added in v1.1.5
func SearchConfigFile ¶ added in v1.1.5
func SnowflakeMachineID ¶
func SnowflakeMachineID() uint16
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.