package
module
Version:
v0.0.9
Opens a new window with list of versions in this module.
Published: Jul 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
导出文档
基于 IRIS
( iris web framework
) 项目, 导出 markdown
格式文档.
go run main.go gen:doc
接受 config/console.yaml
配置
commands:
gen:doc:
options:
base-dir: "./"
controller-dir: "app/controllers"
output-dir: "docs/api"
注解
标签
- desc
Name string `desc:"about the name"`
- label -
Name string `label:"Name" desc:"Name of the user" mock:"John"`
- mock
- validate
Name string `validate:"required,min=3,max=10"`
Documentation
¶
New
creates a new console.Command.
c := console.New()
c.Add(New())
c.Run()
Output:
Source Files
¶
Directories
¶
|
|
|
|
|
|
Package ref for struct instance reflector.
|
Package ref for struct instance reflector. |
Click to show internal directories.
Click to hide internal directories.