Added tests for entity and log middleware.
This commit is contained in:
parent
ac93e0f366
commit
fc3fee1306
4 changed files with 57 additions and 7 deletions
|
|
@ -7,6 +7,7 @@ import (
|
|||
)
|
||||
|
||||
// LogRequestID includes the request ID in all logs for the given request
|
||||
// This requires that middleware that includes the request ID first execute
|
||||
func LogRequestID() echo.MiddlewareFunc {
|
||||
return func(next echo.HandlerFunc) echo.HandlerFunc {
|
||||
return func(c echo.Context) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue