gtgo_orm_mysql

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

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, endFunc func(err error))

Jump to

Keyboard shortcuts

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