diff options
| author | Jeff Carr <[email protected]> | 2024-01-03 14:36:16 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-03 14:36:16 -0600 |
| commit | 674c733d54319b09592df3731901ae2860e72201 (patch) | |
| tree | 88095bec6fcfdfab67bc4379efb1b528c089c1cd /main.go | |
| parent | 5aacba7ff2ca5936bbe48449cd5728ad582bc3cf (diff) | |
using 'gui/debugger'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5,6 +5,7 @@ import ( "go.wit.com/log" "go.wit.com/gui/gui" + "go.wit.com/gui/debugger" "go.wit.com/gui/digitalocean" ) @@ -24,6 +25,11 @@ func main() { myDo.Update() myDo.Show() + if debugger.ArgDebug() { + log.Sleep(2) + debugger.DebugWindow(myGui) + } + doUpdate() // This is just a optional goroutine to watch that things are alive gui.Watchdog() |
