api

package
v0.0.0-...-68868ce Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 6 Imported by: 0

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 *gin.Engine, container *dig.Container) error

RegisterRouter 注册/api路由

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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