mirror of
https://github.com/labstack/echo.git
synced 2025-01-03 22:52:19 +02:00
fix import cycle middleware
This commit is contained in:
parent
2995614e54
commit
0c7c1b78e7
@ -2,7 +2,6 @@ package middleware
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/labstack/echo"
|
"github.com/labstack/echo"
|
||||||
"github.com/labstack/echo/middleware"
|
|
||||||
uuid "github.com/satori/go.uuid"
|
uuid "github.com/satori/go.uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -10,7 +9,7 @@ type (
|
|||||||
// RequestIDConfig defines the config for RequestID middleware.
|
// RequestIDConfig defines the config for RequestID middleware.
|
||||||
RequestIDConfig struct {
|
RequestIDConfig struct {
|
||||||
// Skipper defines a function to skip middleware.
|
// Skipper defines a function to skip middleware.
|
||||||
Skipper middleware.Skipper
|
Skipper Skipper
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user