init server
This commit is contained in:
11
internal/shared-account/database.go
Normal file
11
internal/shared-account/database.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package sharedaccount
|
||||
|
||||
import "nos-comptes/internal/storage/dao/postgresql"
|
||||
|
||||
type Database struct {
|
||||
*postgresql.DatabasePostgreSQL
|
||||
}
|
||||
|
||||
func NewDatabase(db *postgresql.DatabasePostgreSQL) *Database {
|
||||
return &Database{db}
|
||||
}
|
||||
Reference in New Issue
Block a user