code: func pathJoin2(elem1, elem2 string) string {
  	if elem1 == "" {
  		return elem2
  	}
  	if strings.HasSuffix(elem1, string(filepath.Separator)) {
  		return elem1 + elem2
  	}
  	return elem1 + string(filepath.Separator) + elem2
  }
docs: // pathJoin2 is a simpler version of filepath.Join without cleaning the result,
  // since that's needed for globbing.