code: func canonicalHostedZone(hostname string) string {
  	for suffix, zone := range canonicalHostedZones {
  		if strings.HasSuffix(hostname, suffix) {
  			return zone
  		}
  	}
  
  	return ""
  }
docs: // canonicalHostedZone returns the matching canonical zone for a given hostname.