code: func LookupPath(bin string, paths string) (string, error) {
  	pathsArr := filepath.SplitList(paths)
  	for _, path := range pathsArr {
  		binPath := filepath.Join(path, bin)
  		binAbsPath, err := filepath.Abs(binPath)
  		if err != nil {
  			return "", fmt.Errorf("unable to find absolute path for %s", binPath)
  		}
  		if fileutil.IsExecutable(binAbsPath) {
  			return binAbsPath, nil
  		}
  	}
  	return "", fmt.Errorf("unable to find %q in %q", bin, paths)
  }
docs: // LookupPath search for bin in paths. If found, it returns its absolute path,
  // if not, an error