diff --git a/context.go b/context.go index 3a63883f..e0d8c8e6 100644 --- a/context.go +++ b/context.go @@ -8,8 +8,8 @@ import ( type ( // Context represents context for the current request. It holds request and - // response references, path parameters, data and registered handlers for - // the route. Context also drives the execution of middleware. + // response references, path parameters, data and registered handler for + // the route. Context struct { Request *http.Request Response *response diff --git a/example/main.go b/example/main.go index 2f1c7d4b..aaddad0c 100644 --- a/example/main.go +++ b/example/main.go @@ -5,8 +5,6 @@ import ( "github.com/labstack/bolt" mw "github.com/labstack/bolt/middleware" - "github.com/rs/cors" - "github.com/thoas/stats" ) type user struct {