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
386 B
Go
16 lines
386 B
Go
package ent
|
|
|
|
import (
|
|
"context"
|
|
|
|
sharedpostgres "knowfoolery/backend/shared/infra/database/postgres"
|
|
)
|
|
|
|
// Client aliases the shared postgres pooled client.
|
|
type Client = sharedpostgres.Client
|
|
|
|
// NewClient creates a postgres pooled client for the service.
|
|
func NewClient(ctx context.Context, cfg sharedpostgres.Config) (*Client, error) {
|
|
return sharedpostgres.NewClient(ctx, cfg)
|
|
}
|