diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -1,10 +1,10 @@ package main import ( - "go.wit.com/bug/debugger" - "go.wit.com/gui/gui" - "go.wit.com/lib/gui/cloudflare" "go.wit.com/log" + "go.wit.com/gui" + "go.wit.com/lib/debugger" + "go.wit.com/lib/gui/cloudflare" ) var title string = "Cloudflare DNS Control Panel" @@ -21,18 +21,20 @@ func main() { readConfig() // initialize a new GO GUI instance - myGui = gui.New().Default() + myGui = gui.New() + myGui.LoadToolkit("andlabs") + myGui.Default() - debugger.DebugWindow(myGui) // draw the cloudflare control panel window win := cloudflare.MakeCloudflareWindow(myGui) - win.Title(title) + win.SetTitle(title) win.Show() // This is just a optional goroutine to watch that things are alive gui.Watchdog() gui.StandardExit() + debugger.DebugWindow() // update the config file saveConfig() |
