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

Method SetCreatedAt

ent/task_create.go:29–32  ·  view source on GitHub ↗

SetCreatedAt sets the "created_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

27
28// SetCreatedAt sets the "created_at" field.
29func (tc *TaskCreate) SetCreatedAt(t time.Time) *TaskCreate {
30 tc.mutation.SetCreatedAt(t)
31 return tc
32}
33
34// SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
35func (tc *TaskCreate) SetNillableCreatedAt(t *time.Time) *TaskCreate {

Callers 2

SetNillableCreatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected