package
Version:
v0.0.0-...-4cf0c03
Opens a new window with list of versions in this module.
Published: Jan 15, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DefaultDB returns the default db.
func SetDefaultDB(db *gorm.DB)
SetDefaultDB sets the default db for package database.
type Config struct {
Dsn string `json:"dsn"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.