common

package
v1.10.4 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config pkdb.Config

Deprecated 每个驱动分开,不然每次都要编译所有驱动

func (*Config) Build

func (c *Config) Build() *gorm.DB

func (*Config) InitBeforeInjectWithInitConfig

func (c *Config) InitBeforeInjectWithInitConfig(conf *initconf.InitConfig)

type DB

type DB pkdb.DB

func (*DB) Close

func (db *DB) Close() error

func (*DB) Config

func (db *DB) Config() any

func (*DB) Set added in v1.10.0

func (db *DB) Set()

Jump to

Keyboard shortcuts

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