Remove unneeded functions in middleware init

This commit is contained in:
Krishna Srinivas
2015-09-15 16:59:43 -07:00
parent ba6ddd5924
commit b1b387b157
2 changed files with 13 additions and 40 deletions

View File

@@ -25,6 +25,8 @@ import (
"github.com/rs/cors"
)
type MiddlewareHandler func(http.Handler) http.Handler
type contentTypeHandler struct {
handler http.Handler
}