wit-new-machine/main.go

33 lines
611 B
Go
Raw Normal View History

2023-04-12 12:21:23 -05:00
package main
import (
"log"
"embed"
"git.wit.org/wit/gui"
)
var GITCOMMIT string // this is passed in as an ldflag
var GOVERSION string // this is passed in as an ldflag
var VERSION string // this is passed in as an ldflag
var BUILDTIME string // this is passed in as an ldflag
var username string
var hostname string
var geom string = "120x30+500+500"
//go:embed resources
var res embed.FS
func main() {
log.Println("starting my Control Panel")
initGUI()
gui.Watchdog()
}
func closeWindow(n *gui.Node) {
log.Println("Just closing the window and nothing else.", n.Name)
// os.Exit(0)
}