code: func IsAbsURL(path string) bool {
  	url, err := url.Parse(path)
  	if err != nil {
  		return false
  	}
  
  	return url.IsAbs() || strings.HasPrefix(path, "//")
  }
docs: // IsAbsURL determines whether the given path points to an absolute URL.