example

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Example

type Example struct{}

func (*Example) InitAppDb added in v1.0.4

func (app *Example) InitAppDb(ctx request.Context) (AppExampleDB *gorm.DB)

InitAppDb gin框架专用

func (*Example) Initiation

func (app *Example) Initiation(ctx iris.Context) (AppExampleDB *gorm.DB)

Initiation iris框架专用

func (*Example) MysqlOpenDb

func (app *Example) MysqlOpenDb(Instance *sysmdel.InstanceDb) (AppDB *gorm.DB)

func (*Example) OutConsole

func (app *Example) OutConsole(title string, serial int64, AppId int64, DbName string)

func (*Example) SetAppExampleDB

func (app *Example) SetAppExampleDB(AppId int64) (AppDB *gorm.DB)

func (*Example) SetSourceData

func (app *Example) SetSourceData(CurrInstanceDB *sysmdel.InstanceDb) (InstanceDB *gorm.DB)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL