ExecX is like Exec, but panics if an error occurs.
(ctx context.Context)
| 575 | |
| 576 | // ExecX is like Exec, but panics if an error occurs. |
| 577 | func (gcuo *GitCommitUpdateOne) ExecX(ctx context.Context) { |
| 578 | if err := gcuo.Exec(ctx); err != nil { |
| 579 | panic(err) |
| 580 | } |
| 581 | } |
| 582 | |
| 583 | // defaults sets the default values of the builder before save. |
| 584 | func (gcuo *GitCommitUpdateOne) defaults() { |