1
0
mirror of https://github.com/beego/bee.git synced 2024-11-23 01:30:55 +00:00
bee/internal/app/module/beegopro/parser.go

14 lines
303 B
Go
Raw Normal View History

2020-07-05 06:54:26 +00:00
package beegopro
type Parser interface {
RegisterOption(userOption UserOption, tmplOption TmplOption)
Parse(descriptor Descriptor)
GetRenderInfos(descriptor Descriptor) (output []RenderInfo)
Unregister()
}
var ParserDriver = map[string]Parser{
"text": &TextParser{},
"mysql": &MysqlParser{},
}