ExecX is like Exec, but panics if an error occurs.
(ctx context.Context)
| 555 | |
| 556 | // ExecX is like Exec, but panics if an error occurs. |
| 557 | func (_u *GroupUpdateOne) ExecX(ctx context.Context) { |
| 558 | if err := _u.Exec(ctx); err != nil { |
| 559 | panic(err) |
| 560 | } |
| 561 | } |
| 562 | |
| 563 | // check runs all checks and user-defined validators on the builder. |
| 564 | func (_u *GroupUpdateOne) check() error { |