From 030b9b16004937ba3de41c21899432e801c7a059 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 5 Jun 2019 21:20:40 -0700 Subject: [PATCH] make an init() function Signed-off-by: Jeff Carr --- gui.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gui.go b/gui.go index fca054e..892f5cb 100644 --- a/gui.go +++ b/gui.go @@ -10,6 +10,10 @@ import _ "github.com/andlabs/ui/winmanifest" const Xaxis = 0 // box that is horizontal const Yaxis = 1 // box that is vertical +func init() { + log.Println("gui.init() has been run") +} + func GuiInit() { Data.buttonMap = make(map[*ui.Button]*GuiButton) Data.WindowMap = make(map[string]*GuiWindow)