Renames []HandleFunc to HandlersChain

This commit is contained in:
Manu Mtz-Almeida
2015-05-07 11:30:01 +02:00
parent 79131ac84d
commit eb3e9293ed
11 changed files with 28 additions and 27 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ func printChildren(n *node, prefix string) {
// Used as a workaround since we can't compare functions or their adresses
var fakeHandlerValue string
func fakeHandler(val string) []HandlerFunc {
return []HandlerFunc{func(c *Context) {
func fakeHandler(val string) HandlersChain {
return HandlersChain{func(c *Context) {
fakeHandlerValue = val
}}
}