gowit/flags.go

21 lines
393 B
Go
Raw Normal View History

2024-02-22 15:28:32 -06:00
package gowit
/*
this enables command line options from other packages like 'gui' and 'log'
*/
import (
"go.wit.com/log"
)
var WIT *log.LogFlag
var WITWARN *log.LogFlag
func init() {
full := "go.wit.com/lib/gui/gowit"
short := "gowit"
WIT = log.NewFlag("WIT", true, full, short, "general go.wit.com things")
WITWARN = log.NewFlag("WITWARN", true, full, short, "wit.com warnings")
}