gateway

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMySQL

func InitMySQL(sqlFS embed.FS, dbHost string, dbPort int) (*gorm.DB, error)

func InitPostgres added in v0.0.7

func InitPostgres(sqlFS embed.FS, dbHost string, dbPort int) (*gorm.DB, error)

func InitSQLiteInFile

func InitSQLiteInFile(sqlFS embed.FS) (*gorm.DB, error)

func ListDB

func ListDB() map[libgateway.DialectRDBMS]*gorm.DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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