Documentation ¶
Overview ¶
Package database @program: gin-template @author: [lliuhuan](https://github.com/lliuhuan) @create: 2024-07-03 10:14
Package database
@program: gin-template @author: [lliuhuan](https://github.com/lliuhuan) @create: 2024-07-03 10:19
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetMySQLClient ¶
func GetPostgreSqlClient ¶
func GetSqlServerClient ¶
Types ¶
type Predicate ¶
type Predicate string
Predicate is a string that acts as a condition in the where clause
type TracePlugin ¶
type TracePlugin struct{}
func (*TracePlugin) Initialize ¶
func (op *TracePlugin) Initialize(db *gorm.DB) (err error)
func (*TracePlugin) Name ¶
func (op *TracePlugin) Name() string
Directories ¶
Path | Synopsis |
---|---|
Package cron_task @program: gin-template @author: [lliuhuan](https://github.com/lliuhuan) @create: 2024-07-03 15:26
|
Package cron_task @program: gin-template @author: [lliuhuan](https://github.com/lliuhuan) @create: 2024-07-03 15:26 |
Click to show internal directories.
Click to hide internal directories.