init project
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package databaserepo
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type DatabaseService struct {
|
||||
DB *gorm.DB
|
||||
}
|
||||
|
||||
func NewDatabaseService(db *gorm.DB) *DatabaseService {
|
||||
return &DatabaseService{DB: db}
|
||||
}
|
||||
Reference in New Issue
Block a user