code: func SplitHostname(named Named) (string, string) {
  	if r, ok := named.(namedRepository); ok {
  		return r.Domain(), r.Path()
  	}
  	return splitDomain(named.Name())
  }
docs: // SplitHostname splits a named reference into a
  // hostname and name string. If no valid hostname is
  // found, the hostname is empty and the full value
  // is returned as name
  // DEPRECATED: Use Domain or Path