code: func (l *LanguageOpts) ManglePackagePath(name string, suffix string) string {
  	if name == "" {
  		return suffix
  	}
  	target := filepath.ToSlash(filepath.Clean(name)) // preserve path
  	parts := strings.Split(target, "/")
  	parts[len(parts)-1] = l.ManglePackageName(parts[len(parts)-1], suffix)
  	return strings.Join(parts, "/")
  }
docs: // ManglePackagePath makes sure a full package path gets a safe name.
  // Only the last part of the path is altered.