Use the TreeEntry record
Add a Go example