first commit
This commit is contained in:
11
pkg/database/satu_data/database.go
Normal file
11
pkg/database/satu_data/database.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package satu_data
|
||||
|
||||
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