From 18119fe04019d72f62c71c129a4eb2cb3f08ff7c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 6 Oct 2021 11:58:39 -0500 Subject: BUG: make it compile Signed-off-by: Jeff Carr --- new-structs.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'new-structs.go') 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) { -- cgit v1.2.3