code: func splitHostnamePartsFromHost(fullHost string, defaultPortNum string) (string, string) {
  
  	h := strings.Split(fullHost, ":")
  
  	if len(h) == 2 {
  		return h[0], h[1]
  	}
  
  	return h[0], defaultPortNum
  }
docs: // Split apart the hostname on colon
  // Return the host and a default port if there is no separator