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

View File

@ -73,7 +73,7 @@ func TestContextCopy(t *testing.T) {
c, _, _ := createTestContext()
c.index = 2
c.Request, _ = http.NewRequest("POST", "/hola", nil)
c.handlers = []HandlerFunc{func(c *Context) {}}
c.handlers = HandlersChain{func(c *Context) {}}
c.Params = Params{Param{Key: "foo", Value: "bar"}}
c.Set("foo", "bar")