fix import in examples (#70)

This commit is contained in:
Menghan Zheng
2019-07-17 15:42:06 +08:00
committed by Eason Lin
parent 4b6a25595f
commit d488a69274
+2 -2
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.