code: func ToGroupVersionInfo(groups []GroupVersions, groupGoNames map[GroupVersion]string) []GroupVersionInfo {
  	var groupVersionPackages []GroupVersionInfo
  	for _, group := range groups {
  		for _, version := range group.Versions {
  			groupGoName := groupGoNames[GroupVersion{Group: group.Group, Version: version.Version}]
  			groupVersionPackages = append(groupVersionPackages, GroupVersionInfo{
  				Group:                Group(namer.IC(group.Group.NonEmpty())),
  				Version:              Version(namer.IC(version.Version.String())),
  				PackageAlias:         strings.ToLower(groupGoName + version.Version.NonEmpty()),
  				GroupGoName:          groupGoName,
  				LowerCaseGroupGoName: namer.IL(groupGoName),
  			})
  		}
  	}
  	return groupVersionPackages
  }
docs: // ToGroupVersionInfo is a helper function used by generators for groups.