code: func isWindowsExecutable(path string) bool {
  	return execExts[strings.ToLower(filepath.Ext(path))]
  }
docs: // isWindowsExecutable returns true if the given path has an extension that is
  // in the list of executable extensions.