package
Version:
v1.8.2
Opens a new window with list of versions in this module.
Published: Jul 21, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConnectDB connects to a MySQL database using a configuration file and logs a message if
successful.
GetConn returns a pointer to a GORM db connection.
func GetModel(value interface{}) *gorm.DB
GetModel returns a GORM db object for a given model.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.