db

package
v0.0.0-...-c6d8e01 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMySQLClient

func NewMySQLClient(conf *conf.Data, logger log.Logger) *gorm.DB

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg *conf.Data_Mysql) *Engine

func (*Engine) Migrate

func (e *Engine) Migrate()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳