Documentation ¶
Index ¶
- func AddSubroutine(name string, arguments []string, description string, fn func([]string))
- func Attach(l Logger)
- func BoolG(s string) bool
- func Boolf(short, long, description string)
- func Confirm(message string)
- func Durationf(short, long, description string, t time.Duration)
- func FSpew()
- func Fatal(args ...interface{})
- func Fatalf(f string, args ...interface{})
- func Float64G(s string) float64
- func Float64f(short, long, description string, def float64)
- func GetExe() string
- func GetValue(s string) interface{}
- func Help()
- func Init()
- func Int64G(s string) int64
- func Int64f(short, long, description string, def int64)
- func Main(description string, fn func(s []string))
- func MainArgs(arguments []string, description string, fn func([]string))
- func Ok(args ...interface{})
- func Okf(f string, args ...interface{})
- func Printf(f string, args ...interface{})
- func Println(args ...interface{})
- func Puke(v interface{})
- func Spew(v interface{})
- func StringG(s string) string
- func Stringf(short, long, description, def string)
- func Warn(args ...interface{})
- func Warnf(f string, args ...interface{})
- type Def
- type FlagParser
- type Lg
- func (l *Lg) Log(ld LogData)
- func (l *Lg) Ok(args ...interface{})
- func (l *Lg) Okf(f string, args ...interface{})
- func (l *Lg) Printf(f string, args ...interface{})
- func (l *Lg) Println(args ...interface{})
- func (l *Lg) Spew(v interface{})
- func (l *Lg) Warn(args ...interface{})
- func (l *Lg) Warnf(f string, args ...interface{})
- type LogData
- type LogLevel
- type Logger
- type Routine
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSubroutine ¶
Types ¶
type FlagParser ¶
func (*FlagParser) Help ¶
func (f *FlagParser) Help(exe string)
func (*FlagParser) Parse ¶
func (f *FlagParser) Parse(s string) error
func (*FlagParser) SortedDefs ¶
func (s *FlagParser) SortedDefs() []string
func (*FlagParser) SortedRoutines ¶
func (s *FlagParser) SortedRoutines() []string
Click to show internal directories.
Click to hide internal directories.