multi-http-method-support
This commit is contained in:
@@ -13,6 +13,7 @@ var funcsMap = template.FuncMap{
|
||||
"pathToFuncName": pathToFuncName,
|
||||
"parseType": parseType,
|
||||
"add": add,
|
||||
"upperCase": upperCase,
|
||||
}
|
||||
|
||||
func lowCamelCase(s string) string {
|
||||
@@ -69,3 +70,7 @@ func parseType(t string) string {
|
||||
func add(a, i int) int {
|
||||
return a + i
|
||||
}
|
||||
|
||||
func upperCase(s string) string {
|
||||
return strings.ToUpper(s)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user