Documentation ¶
Index ¶
- type BaseStruct
- type DocMarkdown
- func (m *DocMarkdown) AddBaseStruct(pkg, class, context string)
- func (m *DocMarkdown) GenMarkdown(info TplInterface) string
- func (m *DocMarkdown) GetBodyInfo() string
- func (m *DocMarkdown) GetBoolStr(b bool) string
- func (m *DocMarkdown) GetTableInfo() string
- func (m *DocMarkdown) GetTypeList(k interface{}, isArray bool) interface{}
- func (m *DocMarkdown) GetValueType(k, v string, isArray bool) interface{}
- type TplElement
- type TplInterface
- type TplSub
- type TplTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocMarkdown ¶
type DocMarkdown struct {
// contains filtered or unexported fields
}
DocMarkdown
func (*DocMarkdown) AddBaseStruct ¶
func (m *DocMarkdown) AddBaseStruct(pkg, class, context string)
AddBaseStruct 添加一个基础类型
func (*DocMarkdown) GenMarkdown ¶
func (m *DocMarkdown) GenMarkdown(info TplInterface) string
GenMarkdown 生成markdown
func (*DocMarkdown) GetBoolStr ¶
func (m *DocMarkdown) GetBoolStr(b bool) string
GetBoolStr 获取bool类型字符串
func (*DocMarkdown) GetTableInfo ¶
func (m *DocMarkdown) GetTableInfo() string
GetTableInfo 获取table表格
func (*DocMarkdown) GetTypeList ¶
func (m *DocMarkdown) GetTypeList(k interface{}, isArray bool) interface{}
GetTypeList 转换typelist
func (*DocMarkdown) GetValueType ¶
func (m *DocMarkdown) GetValueType(k, v string, isArray bool) interface{}
GetValueType 根据类型获取内容
type TplElement ¶
TplElement 元素
type TplInterface ¶
type TplInterface struct { SC string Class string Note string Item []TplSub BMP map[string][]BaseStruct }
TplInterface 模板
Click to show internal directories.
Click to hide internal directories.