fix(example): fix simple web import

This commit is contained in:
Eason Lin
2017-08-04 11:22:19 +08:00
parent 8eeaf9f74c
commit 9f415fef24
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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"
)