diff options
| author | Jeff Carr <[email protected]> | 2024-01-21 02:42:00 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-21 02:42:00 -0600 |
| commit | c79bbb58bb1f15b47b467b114c692a466e41a883 (patch) | |
| tree | 01512e966d8e22b7acf6a59e588b5193ac2a915a /main.go | |
| parent | 0659d10509ab24936be08a515a851017e6280d7d (diff) | |
compiles, needs toggle / fixed codev0.1.2
Signed-off-by: Jeff Carr <[email protected]>
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() |
