1
0
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:
Yusuke Komatsu 2017-02-10 17:09:11 +09:00
parent 2995614e54
commit 0c7c1b78e7

View File

@ -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
} }
) )