package sway import ( "context" "fmt" "testing" ) func TestGetTree(t *testing.T) { root, err := GetTree(context.Background()) if err != nil { t.Fatal(err) } fmt.Println(root.ID, root.Name) }