Documentation ¶
Index ¶
- type Example
- func (app *Example) InitAppDb(ctx request.Context) (AppExampleDB *gorm.DB)
- func (app *Example) Initiation(ctx iris.Context) (AppExampleDB *gorm.DB)
- func (app *Example) MysqlOpenDb(Instance *sysmdel.InstanceDb) (AppDB *gorm.DB)
- func (app *Example) OutConsole(title string, serial int64, AppId int64, DbName string)
- func (app *Example) SetAppExampleDB(AppId int64) (AppDB *gorm.DB)
- func (app *Example) SetSourceData(CurrInstanceDB *sysmdel.InstanceDb) (InstanceDB *gorm.DB)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Example ¶
type Example struct{}
func (*Example) Initiation ¶
Initiation iris框架专用
func (*Example) MysqlOpenDb ¶
func (app *Example) MysqlOpenDb(Instance *sysmdel.InstanceDb) (AppDB *gorm.DB)
func (*Example) OutConsole ¶
func (*Example) SetSourceData ¶
func (app *Example) SetSourceData(CurrInstanceDB *sysmdel.InstanceDb) (InstanceDB *gorm.DB)
Click to show internal directories.
Click to hide internal directories.