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

Method SetCreatedAt

ent/user_create.go:36–39  ·  view source on GitHub ↗

SetCreatedAt sets the "created_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

34
35// SetCreatedAt sets the "created_at" field.
36func (uc *UserCreate) SetCreatedAt(t time.Time) *UserCreate {
37 uc.mutation.SetCreatedAt(t)
38 return uc
39}
40
41// SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
42func (uc *UserCreate) SetNillableCreatedAt(t *time.Time) *UserCreate {

Callers 2

SetNillableCreatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected