1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +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

@@ -73,7 +73,7 @@ type RoutesProvider interface { // api builder
// and child routers.
type APIBuilder struct {
// the api builder global macros registry
macros *macro.MacroMap
macros *macro.Map
// the api builder global handlers per status code registry (used for custom http errors)
errorCodeHandlers *ErrorCodeHandlers
// the api builder global routes repository
@@ -181,7 +181,9 @@ func (rb *APIBuilder) Party(relativePath string, handlers ...context.Handler) Pa
// Macros returns the macro map which is responsible
// to register custom macro functions for all routes.
func (rb *APIBuilder) Macros() *macro.MacroMap {
//
// Learn more at: https://github.com/kataras/iris/tree/master/_examples/beginner/routing/dynamic-path
func (rb *APIBuilder) Macros() *macro.Map {
return rb.macros
}