gateway

package
v0.0.0-...-2f5d1a1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 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

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