code: func isURL(path string) bool {
  	if strings.HasPrefix(path, "http://") || strings.HasPrefix(path, "https://") {
  		if _, err := url.Parse(path); err == nil {
  			return true
  		}
  	}
  	return false
  }
docs: // returns true if the path is an HTTP URL