ExecX is like Exec, but panics if an error occurs.
(ctx context.Context)
| 174 | |
| 175 | // ExecX is like Exec, but panics if an error occurs. |
| 176 | func (_c *UserCreate) ExecX(ctx context.Context) { |
| 177 | if err := _c.Exec(ctx); err != nil { |
| 178 | panic(err) |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | // defaults sets the default values of the builder before save. |
| 183 | func (_c *UserCreate) defaults() { |