database

package
v0.0.0-...-6de58e6 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sql.DB
View Source
var GDB *gorm.DB

Functions

func GetDSN

func GetDSN() string

func InitDB

func InitDB() (*sql.DB, error)

func InitGDB

func InitGDB() (*gorm.DB, error)

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