common

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Info  *log.Logger
	Warn  *log.Logger
	Error *log.Logger
)

Functions

func Start

func Start()

Start - start command line tool

Types

type MediaFile

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

MediaFile - contains file information

func NewMediaFile

func NewMediaFile(path string, processMetaData bool) *MediaFile

NewMediaFile - generate new file and process meta data returns nil if file cannot be handled

func (*MediaFile) Error

func (m *MediaFile) Error(input ...string)

func (*MediaFile) Info

func (m *MediaFile) Info(input ...string)

func (*MediaFile) Warn

func (m *MediaFile) Warn(input ...string)

type ProgressBar

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

func NewProgressBar

func NewProgressBar(total int) *ProgressBar

NewProgressBar - get new progress bar

Jump to

Keyboard shortcuts

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