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

Method SetID

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

SetID sets the "id" field.

(v uuid.UUID)

Source from the content-addressed store, hash-verified

104
105// SetID sets the "id" field.
106func (_c *UserCreate) SetID(v uuid.UUID) *UserCreate {
107 _c.mutation.SetID(v)
108 return _c
109}
110
111// SetNillableID sets the "id" field if the given value is not nil.
112func (_c *UserCreate) SetNillableID(v *uuid.UUID) *UserCreate {

Callers 2

SetNillableIDMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected