1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

Linting 🅰️

Former-commit-id: 367bb53ed6656002c60c40e3ad30bda578de21c6
This commit is contained in:
kataras
2017-06-12 04:47:16 +03:00
parent 74989ad0a1
commit fb85ae15d5
8 changed files with 148 additions and 69 deletions

View File

@@ -17,8 +17,8 @@ import (
// defaultMacros returns a new macro map which
// contains the default router's named param types functions.
func defaultMacros() *macro.MacroMap {
macros := macro.NewMacroMap()
func defaultMacros() *macro.Map {
macros := macro.NewMap()
// registers the String and Int default macro funcs
// user can add or override of his own funcs later on
// i.e:
@@ -31,7 +31,7 @@ func defaultMacros() *macro.MacroMap {
return macros
}
func registerBuiltinsMacroFuncs(out *macro.MacroMap) {
func registerBuiltinsMacroFuncs(out *macro.Map) {
// register the String which is the default type if not
// parameter type is specified or
// if a given parameter into path given but the func doesn't exist on the