summaryrefslogtreecommitdiff
path: root/examples/helloworld/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/helloworld/main.go')
-rw-r--r--examples/helloworld/main.go23
1 files changed, 0 insertions, 23 deletions
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")
- })
-}