db

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// PostgreSQL 连接
	PG *sqlx.DB
	// MySQL 连接
	MY *sqlx.DB
)

Functions

func InitMySQL

func InitMySQL(dsn string) (err error)

func InitPG

func InitPG(dsn string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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