You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
357 B
Go

package ent
import (
"context"
sharedpostgres "knowfoolery/backend/shared/infra/database/postgres"
)
// Client aliases shared postgres client.
type Client = sharedpostgres.Client
// NewClient creates postgres pooled client.
func NewClient(ctx context.Context, cfg sharedpostgres.Config) (*Client, error) {
return sharedpostgres.NewClient(ctx, cfg)
}