mirror of
https://github.com/beego/bee.git
synced 2025-02-16 19:37:02 +00:00
14 lines
303 B
Go
14 lines
303 B
Go
![]() |
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{},
|
||
|
}
|