summaryrefslogtreecommitdiff
path: root/cmds/debug/helloworld.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-03 16:08:39 -0600
committerJeff Carr <[email protected]>2023-12-03 16:59:57 -0600
commit9d075afb1df62276dea06be4a188eaee8fc69420 (patch)
tree915472449c509dc7fd77f18fa43edecc46e56f46 /cmds/debug/helloworld.go
parent7880d9df6de1040258bea966f040e12be6205af1 (diff)
clean and rename examples
fix syntax try new goreadme remove autogenerated go readme.md Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'cmds/debug/helloworld.go')
-rw-r--r--cmds/debug/helloworld.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/cmds/debug/helloworld.go b/cmds/debug/helloworld.go
deleted file mode 100644
index d0998bf..0000000
--- a/cmds/debug/helloworld.go
+++ /dev/null
@@ -1,20 +0,0 @@
-// A simple helloworld window
-package main
-
-import (
- "log"
- "git.wit.org/wit/gui"
-)
-
-// This creates a window
-func helloworld() {
- var w *gui.Node
- gui.Config.Title = "helloworld golang wit/gui window"
- gui.Config.Width = 400
- gui.Config.Height = 100
-
- w = gui.NewWindow()
- w.NewButton("hello", func () {
- log.Println("world")
- })
-}