1
0
mirror of https://github.com/beego/bee.git synced 2025-06-26 19:10:19 +00:00

beego pro add mysql source type

This commit is contained in:
yitea
2020-07-05 14:54:26 +08:00
parent 8758f6eaa1
commit 9db1e8fb4c
13 changed files with 452 additions and 132 deletions

View File

@ -0,0 +1,13 @@
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{},
}