code: func Protocol(url string) string {
  	if index := strings.Index(url, "://"); index > -1 {
  		return url[:index]
  	}
  	return ""
  }
docs: // Protocol returns protocol from given url
  //
  // If protocol is not present - return empty string