1
0
mirror of https://github.com/beego/bee.git synced 2025-06-27 00:20:21 +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

@ -15,7 +15,7 @@ type RenderFile struct {
*pongo2render.Render
Context pongo2.Context
GenerateTime string
Option Option
Option UserOption
ModelName string
PackageName string
FlushFile string
@ -24,7 +24,7 @@ type RenderFile struct {
Descriptor Descriptor
}
func NewRender(m modelInfo) *RenderFile {
func NewRender(m RenderInfo) *RenderFile {
var (
pathCtx pongo2.Context
newDescriptor Descriptor