// FindNode - Find and return the node that matches the key given as argument
Find and return the node that matches the key given as argument
// FindNode - Find and return the node that matches the key given as argument
func (tree *LinkedTree) FindNode(key string) (*LinkedTreeNode, error) {
	tree.mux.Lock()
	defer tree.mux.Unlock()
	if tree.root != nil {
		return tree.root.FindNode(key)
	}
	return nil, fmt.Errorf("Can't search a tree without a root node")
}
func ( tree * LinkedTree ) FindNode ( key string ) ( * LinkedTreeNode , error ) { tree . mux . Lock ( ) defer tree . mux . Unlock ( ) if tree . root != nil { return tree . root . FindNode ( key ) } return nil , fmt . Errorf ( " " ) }
Find and return the node that matches the key given as argument
Find and return the node that matches the key given as argument