code: func (ens *ENS) Resolve(name string) (common.Hash, error) {
  	node := EnsNode(name)
  
  	resolver, err := ens.getResolver(node)
  	if err != nil {
  		return common.Hash{}, err
  	}
  
  	// IMPORTANT: The old contract is deprecated. This code should be removed latest on June 1st 2019
  	supported, err := resolver.SupportsInterface(contentHash_Interface_Id)
  	if err != nil {
  		return common.Hash{}, err
  	}
  
  	if !supported {
  		resolver, err := ens.getFallbackResolver(node)
  		if err != nil {
  			return common.Hash{}, err
  		}
  		ret, err := resolver.Content(node)
  		if err != nil {
  			return common.Hash{}, err
  		}
  		return common.BytesToHash(ret[:]), nil
  	}
  
  	// END DEPRECATED CODE
  
  	contentHash, err := resolver.Contenthash(node)
  	if err != nil {
  		return common.Hash{}, err
  	}
  
  	return extractContentHash(contentHash)
  }
docs: // Resolve is a non-transactional call that returns the content hash associated with a name.