Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client[C DBClient] struct { // contains filtered or unexported fields }
func NewClient ¶
func NewClient[C DBClient](c C, config ConfigRepo, migrations Migrations[C], retry int) *Client[C]
type ConfigRepo ¶
type DBClient ¶
type DBClient interface {
Transaction() usecasex.Transaction
}
type Migrations ¶
type Migrations[C DBClient] map[Key]MigrationFunc[C]
Click to show internal directories.
Click to hide internal directories.