ExecX is like Exec, but panics if an error occurs.
(ctx context.Context)
| 82 | |
| 83 | // ExecX is like Exec, but panics if an error occurs. |
| 84 | func (ndo *NodeDeleteOne) ExecX(ctx context.Context) { |
| 85 | if err := ndo.Exec(ctx); err != nil { |
| 86 | panic(err) |
| 87 | } |
| 88 | } |