code: func uriPathToFilename(uriPath string) string {
  	if runtime.GOOS != "windows" {
  		return uriPath
  	}
  
  	// Convert slashes and remove first `/` left over from the URI path since
  	// absolute path on Windows won't start with `\`.
  	filename := strings.TrimPrefix(uriPath, `/`)
  	return filepath.FromSlash(filename)
  }
docs: // uriPathToFilename converts the path from a URI to a valid local file name.
  // E.g. file:///c:/foo -> c:\foo
  // E.g. file:///foo -> /foo