Documentation
¶
Index ¶
- Variables
- func Client(ctx context.Context, group ...string) (*ent.Client, error)
- func MustClient(group ...string) *ent.Client
- func NetworkClient(ctx context.Context, network *ent.Network) (*ent.Client, error)
- func SetDialect(ctx context.Context, f func(string), group ...string)
- func Start(logger log.Logger, cfg *config.Config) error
- func WithTx(ctx context.Context, client *ent.Client, fn func(db *ent.Client) error) error
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var TxErr = errors.New("ent: cannot start a transaction within a transaction")
Functions ¶
func MustClient ¶
func NetworkClient ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.