example

command
v0.9.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 3 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
Package render @Author: asus @Description: $ @File: category_render @Data: 2022/2/2816:48
Package render @Author: asus @Description: $ @File: category_render @Data: 2022/2/2816:48

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL