SaveX is like Save, but panics if an error occurs.
(ctx context.Context)
| 798 | |
| 799 | // SaveX is like Save, but panics if an error occurs. |
| 800 | func (gccb *GitCommitCreateBulk) SaveX(ctx context.Context) []*GitCommit { |
| 801 | v, err := gccb.Save(ctx) |
| 802 | if err != nil { |
| 803 | panic(err) |
| 804 | } |
| 805 | return v |
| 806 | } |
| 807 | |
| 808 | // Exec executes the query. |
| 809 | func (gccb *GitCommitCreateBulk) Exec(ctx context.Context) error { |