feat: 🎉 Rating Orama!
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
"github.com/jackc/pgx/v5/pgxpool"
|
||||
)
|
||||
|
||||
type postgresDBRepo struct {
|
||||
DB *pgxpool.Pool
|
||||
}
|
||||
|
||||
func NewPostgresRepo(conn *pgxpool.Pool) DBRepo {
|
||||
return &postgresDBRepo{
|
||||
DB: conn,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user