summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.go b/init.go
index c8b4df5..f17adfd 100644
--- a/init.go
+++ b/init.go
@@ -13,7 +13,7 @@ import (
// const Xaxis = 0 // stack things horizontally
// const Yaxis = 1 // stack things vertically
-func init() {
+func initNew() {
log.Log(INFO, "init() has been run")
me.counter = 0
@@ -257,6 +257,7 @@ func New() *Node {
}
*/
+ initNew()
return me.rootNode
}