package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Dec 4, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Connect establishes a connection to the MySQL database.
It reads the environment variables from the .env file and constructs the connection string.
The function returns a *gorm.DB instance and an error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.