fix import in examples

This commit is contained in:
Menghan Zheng 2019-07-17 11:26:36 +08:00 committed by GitHub
parent 4b6a25595f
commit b95a01eff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ package main
import (
"github.com/gin-gonic/gin"
"github.com/swaggo/files"
swaggerFiles "github.com/swaggo/files"
"github.com/swaggo/gin-swagger"
_ "github.com/swaggo/gin-swagger/example/basic/docs" // docs is generated by Swag CLI, you have to import it.
@ -84,7 +84,7 @@ package main
import (
"github.com/gin-gonic/gin"
"github.com/swaggo/files"
swaggerFiles "github.com/swaggo/files"
"github.com/swaggo/gin-swagger"
_ "./docs" // docs is generated by Swag CLI, you have to import it.