Skip to content

Commit

Permalink
Fix up code styling with go fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuma committed May 25, 2023
1 parent 4d2d37d commit bc0db73
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion openapi/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ It also provides you with a set of rapidoc handlers to serve a live documentatio
}).
Error()
}
*/
package openapi
1 change: 0 additions & 1 deletion server/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions server/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit bc0db73

Please sign in to comment.