Added tests for entity and log middleware.

This commit is contained in:
mikestefanello 2021-12-21 21:02:25 -05:00
parent ac93e0f366
commit fc3fee1306
4 changed files with 57 additions and 7 deletions

View file

@ -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 {