MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / ExecX

Method ExecX

app/controlplane/pkg/data/ent/user_create.go:176–180  ·  view source on GitHub ↗

ExecX is like Exec, but panics if an error occurs.

(ctx context.Context)

Source from the content-addressed store, hash-verified

174
175// ExecX is like Exec, but panics if an error occurs.
176func (_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.
183func (_c *UserCreate) defaults() {

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected