1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-13 05:57:20 +00:00

Update go tool dependencies (#19676)

* Update go tool dependencies

Updated all tool dependencies to latest tags, hoping CI will like it.

* fix new lint errors

* handle more strings.Title cases

* remove lint skip
This commit is contained in:
silverwind
2022-05-10 23:55:54 +02:00
committed by GitHub
parent 3c658dff23
commit 318f360252
12 changed files with 30 additions and 18 deletions

View File

@ -43,7 +43,7 @@ var defaultTransformers = []transformer{
{Name: "PASCAL", Transform: xstrings.ToCamelCase},
{Name: "LOWER", Transform: strings.ToLower},
{Name: "UPPER", Transform: strings.ToUpper},
{Name: "TITLE", Transform: strings.Title},
{Name: "TITLE", Transform: util.ToTitleCase},
}
func generateExpansion(src string, templateRepo, generateRepo *repo_model.Repository) string {