From c58dee3d019e4ef809a98666f01a232d62af226c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 6 Oct 2021 11:58:39 -0500 Subject: [PATCH] BUG: make it compile Signed-off-by: Jeff Carr --- new-structs.go | 5 ++--- 1 file 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) {