Versions in this module Expand all Collapse all v0 v0.3.0 Jun 11, 2024 Changes in this version + var DebugProgArg = ProgArg + var HelpProgArg = ProgArg + var Logo = cfmt.Sprint(...) + var ProgArgs = []ProgArg + var VersionProgArg = ProgArg + func Dbg(msg string) + func Error(err error, exit bool) + func Info(msg string) + func Parse(args []string) (instruction string) + func ParseForDebug(args []string) + func ParseForHelp(args []string) + func ParseForVersion(args []string) + func Separator() + func Warning(msg string) + type ProgArg struct + Func progArgFunction + HasData bool + Help string + Long string + Name string + Short string + type Stopwatch struct + func NewStopWatch(interval time.Duration) Stopwatch + func (t *Stopwatch) Reset() + func (t *Stopwatch) SetStartTimeAndStart(time time.Time) + func (t *Stopwatch) Start() + func (t *Stopwatch) Stop() + func (t *Stopwatch) Update()