Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntClient ¶
type EntClient interface { Close() error GetSchema() EntClientSchema BeginTxGeneric(ctx context.Context, opts *sql.TxOptions) (EntTx, error) EntityClient(string) EntityClient }
type EntClientSchema ¶
type EntClientSchema interface {
Create(ctx context.Context, opts ...schema.MigrateOption) error
}
Generic ent-style Schema (ent doesn't provide an interface for this)
type EntityClient ¶
type EntityClient interface {
CreateEntity() EntityCreate
}
Click to show internal directories.
Click to hide internal directories.