![Notice](/static/shared/icon/info_gm_grey_24dp.svg)
The highest tagged major version is
v2.
command
Version:
v0.9.6
Opens a new window with list of versions in this module.
Published: Nov 8, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
使用swagger时, 需要添加下方扩展
go install github.com/swaggo/swag/cmd/swag@latest
go get github.com/iris-contrib/swagger/v12
安装swag
之后, windows环境下需要设置环境变量
在命令行中执行 swag -v
能看到swag的版本, 说明swag安装成功
生产swagger文档时, 在main.go
同级目录命令行中执行 swag init
。 看到在main.go
同级目录中出现docs文件夹, 说明swag文档生成成功
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.