From e38ea65dc70c974546de5209d69c5b33b32ea8b0 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Tue, 30 Jan 2018 21:16:54 +0200 Subject: [PATCH] fix example comment on routing/dynamic-path/main.go#L101 Former-commit-id: affb9b646e83ab9087d4c84aac8c12e11468257b --- _examples/routing/dynamic-path/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_examples/routing/dynamic-path/main.go b/_examples/routing/dynamic-path/main.go index b7875b9a..b7e78c40 100644 --- a/_examples/routing/dynamic-path/main.go +++ b/_examples/routing/dynamic-path/main.go @@ -98,7 +98,7 @@ func main() { // // {param:string equal(iris)} , "iris" will be the argument here: // app.Macros().String.RegisterFunc("equal", func(argument string) func(paramValue string) bool { - // return func(paramValue string){ return argument == paramValue } + // return func(paramValue string) bool { return argument == paramValue } // }) // you can use the "string" type which is valid for a single path parameter that can be anything.