summaryrefslogtreecommitdiff
path: root/new-structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'new-structs.go')
-rw-r--r--new-structs.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/new-structs.go b/new-structs.go
index c254bbe..0fa326a 100644
--- a/new-structs.go
+++ b/new-structs.go
@@ -10,14 +10,13 @@ import (
// https://ieftimov.com/post/golang-datastructures-trees/
type Node struct {
- id int
+ id string
Name string
- tag string
Width int
Height int
uiType *ui.Control
- Children []*Node
+ children []*Node
}
func (n Node) SetName(name string) {