mysql

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 5 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

func (*Config) Build

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

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) Init

func (db *DB) Init() error

Jump to

Keyboard shortcuts

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