From b95a01eff622939e57fb9ac6c1c5fcc11fadbabc Mon Sep 17 00:00:00 2001 From: Menghan Zheng Date: Wed, 17 Jul 2019 11:26:36 +0800 Subject: [PATCH] fix import in examples --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3b2080..3bba20e 100644 --- a/README.md +++ b/README.md @@ -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.