docs

package
v0.0.0-...-60b80de Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

docs

API Swag 文档

  • 命令:swag init 生成
  • swag 安装:go get github.com/swaggo/swag/cmd/swag
    • swag 用于生成 docs 文件夹(swagger文档程序使用)
    • 安装完成后会在 ${GOPATH}/bin生成一个执行文件

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SwaggerInfo = swaggerInfo{
	Version:     "1.0",
	Host:        "petstore.swagger.io:8080",
	BasePath:    "/api/v1",
	Schemes:     []string{},
	Title:       "Swagger Example API",
	Description: "This is a sample server Petstore server.",
}

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