Documentation ¶
Overview ¶
Package api 生成swagger文档
文档规则请参考:https://github.com/teambition/swaggo/wiki/Declarative-Comments-Format
使用方式:
go get -u -v github.com/teambition/swaggo swaggo -s ./internal/app/routers/api/swagger.go -p . -o ./internal/app/swagger
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRouter ¶
func RegisterRouter(app *iris.Application, container *dig.Container) error
RegisterRouter 注册/api路由
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.