ExecX is like Exec, but panics if an error occurs.
(ctx context.Context)
| 239 | |
| 240 | // ExecX is like Exec, but panics if an error occurs. |
| 241 | func (nvc *NodeVersionCreate) ExecX(ctx context.Context) { |
| 242 | if err := nvc.Exec(ctx); err != nil { |
| 243 | panic(err) |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | // defaults sets the default values of the builder before save. |
| 248 | func (nvc *NodeVersionCreate) defaults() { |