MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / SetUpdatedAt

Method SetUpdatedAt

ent/task_create.go:43–46  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

41
42// SetUpdatedAt sets the "updated_at" field.
43func (tc *TaskCreate) SetUpdatedAt(t time.Time) *TaskCreate {
44 tc.mutation.SetUpdatedAt(t)
45 return tc
46}
47
48// SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
49func (tc *TaskCreate) SetNillableUpdatedAt(t *time.Time) *TaskCreate {

Callers 2

SetNillableUpdatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected