Updated echo and ent.
This commit is contained in:
parent
f4c98ba523
commit
eb1e42bb02
15 changed files with 608 additions and 69 deletions
|
|
@ -93,6 +93,7 @@ func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error)
|
|||
cfg := c.config
|
||||
cfg.driver = &txDriver{tx: tx, drv: c.driver}
|
||||
return &Tx{
|
||||
ctx: ctx,
|
||||
config: cfg,
|
||||
PasswordToken: NewPasswordTokenClient(cfg),
|
||||
User: NewUserClient(cfg),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue