code: func normalizePathSeparator(p string) string {
  	if filepath.Separator == '/' {
  		return strings.Replace(p, `\`, string(filepath.Separator), -1)
  	}
  	return strings.Replace(p, "/", string(filepath.Separator), -1)
  }
docs: // normalizePathSeparator returns path having os native path separator.