package
Version:
v0.0.0-...-3ccc3fb
Opens a new window with list of versions in this module.
Published: Sep 16, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package config provides the database connection
Package config provides the database connection
GormOpen is a function that returns a gorm database connection using initial configuration
DBConfig represents db configuration
type Repository struct {
DB *gorm.DB
}
Repository represents the repository using gorm
Source Files
¶
Click to show internal directories.
Click to hide internal directories.