db

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.7.0

type Config struct {
	MySQLDSN string
	gorm.Config
}

type Engine added in v0.7.0

type Engine struct {
	*gorm.DB
}

func NewEngine added in v0.7.0

func NewEngine(config Config) (*Engine, error)

NewEngine creates a new database engine and establishes a connection to the database

Jump to

Keyboard shortcuts

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