From 4e7bbd89900a733593f0848778103c1cf1a7145d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 1 Jan 2024 15:43:50 -0600 Subject: reorg to final resting place at go.wit.com/gui/gui Signed-off-by: Jeff Carr --- examples/helloworld/main.go | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 examples/helloworld/main.go (limited to 'examples/helloworld/main.go') diff --git a/examples/helloworld/main.go b/examples/helloworld/main.go deleted file mode 100644 index 06c1da5..0000000 --- a/examples/helloworld/main.go +++ /dev/null @@ -1,23 +0,0 @@ -// This is a simple example -package main - -import ( - "log" - "go.wit.com/gui" -) - -func main() { - helloworld() - // This is just a optional goroutine to watch that things are alive - gui.Watchdog() -} - -// This creates a window -func helloworld() { - myGui := gui.New().Default() - myWindow := myGui.NewWindow("helloworld golang wit/gui window") - - myWindow.NewButton("hello", func () { - log.Println("world") - }) -} -- cgit v1.2.3