diff --git a/README.md b/README.md index d0f8e1d..5937555 100644 --- a/README.md +++ b/README.md @@ -58,4 +58,6 @@ go get "github.com/swaggo/gin-swagger" > 生成 swag init + +swag init -g main.go -o ./docs --parseDependency (swag 在生成文档时解析外部依赖包) ``` \ No newline at end of file