diff --git a/openapi/doc.go b/openapi/doc.go index 1164663..7e70a41 100644 --- a/openapi/doc.go +++ b/openapi/doc.go @@ -32,6 +32,5 @@ It also provides you with a set of rapidoc handlers to serve a live documentatio }). Error() } - */ package openapi diff --git a/server/doc.go b/server/doc.go index f80f2ff..d7d17ba 100644 --- a/server/doc.go +++ b/server/doc.go @@ -23,6 +23,5 @@ You can see middleware implementation in the github.com/mwm-io/gapi/middleware p if err != nil { log.Fatal(err) } - */ package server diff --git a/server/handler.go b/server/handler.go index 1ae20a0..fe9992d 100644 --- a/server/handler.go +++ b/server/handler.go @@ -13,8 +13,8 @@ import ( // You can use it if you want a new instance of your handler for each call. // It must be use useful if : // -// - you use a middleware for handle request params like middleware.BodyDecoder, middleware.PathParameters, etc. -// - you store properties in your handler struct during Serve process +// - you use a middleware for handle request params like middleware.BodyDecoder, middleware.PathParameters, etc. +// - you store properties in your handler struct during Serve process func AddHandlerFactory(router *mux.Router, method, path string, f handler.Factory) { router.Methods(method). Path(path).