Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GTORMMysql ¶
type GTORMMysql struct { MysqlDB *gorm.DB MysqlError error // contains filtered or unexported fields }
func Instance ¶
func Instance() *GTORMMysql
func (*GTORMMysql) InsertData ¶
func (aMysql *GTORMMysql) InsertData(dataModel interface{}) error
InsertData 单例
func (*GTORMMysql) OPenMysql ¶
func (aMysql *GTORMMysql) OPenMysql(dbUser string, dbPwd string, dbName string, dbAddress string, dbPort int, timeZone gtbox_orm_config.GTORMTimeZone, endFunc func(err error))
Click to show internal directories.
Click to hide internal directories.