chore: sync submodule state (parent ref update)
Made-with: Cursor
This commit is contained in:
@@ -8,15 +8,15 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/explorer/backend/api/rest"
|
||||
"github.com/explorer/backend/database/config"
|
||||
pgconfig "github.com/explorer/backend/libs/go-pgconfig"
|
||||
"github.com/jackc/pgx/v5/pgxpool"
|
||||
)
|
||||
|
||||
func main() {
|
||||
ctx := context.Background()
|
||||
|
||||
// Load database configuration
|
||||
dbConfig := config.LoadDatabaseConfig()
|
||||
// Load database configuration (reusable lib: libs/go-pgconfig)
|
||||
dbConfig := pgconfig.LoadDatabaseConfig()
|
||||
poolConfig, err := dbConfig.PoolConfig()
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create pool config: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user