initialize

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GormMysql

func GormMysql(doInit bool) *gorm.DB

GormMysql 初始化Mysql数据库

func GormMysqlByConfig

func GormMysqlByConfig(m gconfig.Mysql) *gorm.DB

GormMysqlByConfig 初始化Mysql数据库用过传入配置

func GormPgSQL

func GormPgSQL(doInit bool) *gorm.DB

GormPgSQL 初始化 Postgresql 数据库

func GormPgSqlByConfig

func GormPgSqlByConfig(p gconfig.Pgsql) *gorm.DB

GormPgSqlByConfig 初始化 Postgresql 数据库 通过参数

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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