type top struct {
node *tree
hd int
}
func (t *bt) topview() {
if t.root == nil {
return
}
qu := list.New()
qu.PushBack(top{t.root, 0})
sample := qu.Front()
fmt.Println(sample.hd)```
fails with error sample.hd undefined (type *list.Element has no field or method hd)