fix golint warnings

This commit is contained in:
kevin
2020-08-19 16:00:55 +08:00
parent 2ebb5b6b58
commit 9e14820698
14 changed files with 44 additions and 36 deletions

View File

@@ -34,7 +34,7 @@ func routeToFuncName(method, path string) string {
path = strings.ReplaceAll(path, "-", "_")
path = strings.ReplaceAll(path, ":", "With_")
return strings.ToLower(method)+strcase.ToCamel(path)
return strings.ToLower(method) + strcase.ToCamel(path)
}
func parseType(t string) string {