docs

package
v0.0.0-...-3abd2fa Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: MIT Imports: 5 Imported by: 0

README

使用说明

可以参考: https://razeencheng.com/post/go-swagger https://github.com/swaggo/swag 如果懒得看就直接看controllers/user.go中的示例注解 swag工具安装:go get -u github.com/swaggo/swag/cmd/swag (每次run之前运行swag init更新文档) 在run之后可以通过 http://localhost:5000/swagger/index.html 访问文档

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SwaggerInfo = swaggerInfo{
	Version:     "",
	Host:        "",
	BasePath:    "",
	Schemes:     []string{},
	Title:       "",
	Description: "",
}

SwaggerInfo holds exported Swagger Info so clients can modify it

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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