//
pkg.gl
Category
github.com/Reliccode/jwt-authentication-API
initializers
package
0.0.0-20240331100836-6119ed1f8fd4
Repository:
https://github.com/reliccode/jwt-authentication-api.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
3
Files
34 SLOC
#
Functions
ConnectToDb
ConnectToDb initializes a connection to the database.
LoadEnvVariables
LoadEnvVariables loads environment variables from a .env file.
SyncDatabase
SyncDatabase performs automatic migration of database tables.
#
Variables
DB
DB holds the connection to the database.