code: func fromSlash(path, platform string) string {
  	if platform == "windows" {
  		return strings.Replace(path, "/", "\\", -1)
  	}
  	return path
  }
docs: // fromSlash works like filepath.FromSlash but with a given OS platform field