diff options
| author | Jeff Carr <[email protected]> | 2024-02-22 15:28:32 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-22 15:28:32 -0600 |
| commit | f82ca7a951ef17e4ddb117d8715c7191c2f779b5 (patch) | |
| tree | 1cbadc66a0f69bd549921051b603408f433e876f /flags.go | |
| parent | f8963c75638d16030a67aa1c79da55dbc824a79e (diff) | |
skip comments in config file
Diffstat (limited to 'flags.go')
| -rw-r--r-- | flags.go | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/flags.go b/flags.go new file mode 100644 index 0000000..5ff1319 --- /dev/null +++ b/flags.go @@ -0,0 +1,20 @@ +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") +} |
