fix(example): fix simple web import
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ package api
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/swaggo/swag/example/web"
|
||||
"github.com/swaggo/swag/example/simple/web"
|
||||
)
|
||||
|
||||
//
|
||||
|
||||
+3
-2
@@ -1,11 +1,12 @@
|
||||
package ginSwagger
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/swaggo/swag"
|
||||
"golang.org/x/net/webdav"
|
||||
"html/template"
|
||||
"regexp"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/swaggo/swag"
|
||||
)
|
||||
|
||||
// WrapHandler wraps `http.Handler` into `echo.HandlerFunc`.
|
||||
|
||||
+3
-2
@@ -1,11 +1,12 @@
|
||||
package ginSwagger
|
||||
|
||||
import (
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/swaggo/gin-swagger/swaggerFiles"
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
_ "github.com/swaggo/gin-swagger/example/docs"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user