summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-11 18:57:03 -0500
committerPietro Gagliardi <[email protected]>2014-02-11 18:57:03 -0500
commit09a42e0c344ce4c23918c305f7d27ad44116ba8e (patch)
tree685cfc15702d5a1bd084f340b24158d2ebf618be /main.go
parent7686c6e599212a38b61134eb685c8a4929db6941 (diff)
Added the init and testing main functions and started fixing errors. Let's fix the rest and hope it works...
Diffstat (limited to 'main.go')
-rw-r--r--main.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..a20a745
--- /dev/null
+++ b/main.go
@@ -0,0 +1,11 @@
+// 11 february 2014
+package main
+
+func main() {
+ w := NewWindow("Main Window")
+ w.Closing = make(chan struct{})
+ w.Open()
+ <-w.Closing
+ w.Close()
+}
+