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) {