summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-10-06 11:58:39 -0500
committerJeff Carr <[email protected]>2021-10-06 11:58:39 -0500
commit18119fe04019d72f62c71c129a4eb2cb3f08ff7c (patch)
tree6e6afb3a2595721a7180a54ab5b00748f26a3921
parent5a0a6ce7a66c2f617739dfb10b4f5e8660d8f39f (diff)
BUG: make it compile
Signed-off-by: Jeff Carr <[email protected]>
-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) {