Fixed name MyType -> MyHandler

Matt Holt 2015-06-27 12:24:44 -06:00
parent 2c51142b4f
commit 92d0e49926

@ -66,7 +66,7 @@ func Setup(c *Controller) (middleware.Middleware, error) {
// is started. Create and return your middleware
// struct here to ensure it gets the latest config.
// Return a pointer - very important!
return &MyType{
return &MyHandler{
Next: next,
// ...
}