code: func Username(url string) string {
  	auth := strings.SplitN(credentials(url), ":", 2)
  	if len(auth) == 0 {
  		return ""
  	}
  	return auth[0]
  }
docs: // Username returns username from given url
  //
  // If username is not present - return empty string