core: initial Go module skeleton (config, db pool, tenant registry migration)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/jackc/pgx/v5/pgxpool"
|
||||
)
|
||||
|
||||
func Connect(ctx context.Context, dsn string) (*pgxpool.Pool, error) {
|
||||
return pgxpool.New(ctx, dsn)
|
||||
}
|
||||
Reference in New Issue
Block a user