api

package
v0.0.0-...-831d175 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2019 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 *iris.Application, 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