diff options
Diffstat (limited to 'cmds/debug')
| -rw-r--r-- | cmds/debug/Makefile | 3 | ||||
| -rw-r--r-- | cmds/debug/main.go | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/cmds/debug/Makefile b/cmds/debug/Makefile index 25c994d..5f979cc 100644 --- a/cmds/debug/Makefile +++ b/cmds/debug/Makefile @@ -2,4 +2,5 @@ run: build ./debug build: - go build + # go build + GO111MODULE="off" go build diff --git a/cmds/debug/main.go b/cmds/debug/main.go index 5e3a350..c0df70b 100644 --- a/cmds/debug/main.go +++ b/cmds/debug/main.go @@ -17,7 +17,9 @@ import ( func main() { log.Println("Starting my Control Panel") - go gui.Main(helloworld) + gui.Init() +// go gui.Main(helloworld) + go gui.Main(gui.DebugWindow) // go gui.DemoToolkitWindow() watchGUI() @@ -36,9 +38,9 @@ func watchGUI() { gui.Config.Width = 800 gui.Config.Height = 300 gui.Config.Exit = myExit - gui.Queue(gui.DebugWindow) + // gui.DebugWindow() time.Sleep(1 * time.Second) - gui.Queue(gui.DebugTab) + // gui.DebugTab() } } } |
