core: initial Go module skeleton (config, db pool, tenant registry migration)

This commit is contained in:
sysops
2026-08-27 17:27:59 +02:00
parent 72261cc69f
commit c895a67c4b
7 changed files with 136 additions and 0 deletions
+11
View File
@@ -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)
}