control-panel-digitalocean/argv.go

19 lines
276 B
Go

package main
/*
this enables command line options from other packages like 'gui' and 'log'
*/
import (
arg "github.com/alexflint/go-arg"
"go.wit.com/log"
"go.wit.com/gui/gui"
)
func init() {
arg.MustParse()
log.Info("INIT() gui args.ArgDebug =", gui.ArgDebug())
}