MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / SetCreatedAt

Method SetCreatedAt

ent/setting_create.go:26–29  ·  view source on GitHub ↗

SetCreatedAt sets the "created_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

24
25// SetCreatedAt sets the "created_at" field.
26func (sc *SettingCreate) SetCreatedAt(t time.Time) *SettingCreate {
27 sc.mutation.SetCreatedAt(t)
28 return sc
29}
30
31// SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
32func (sc *SettingCreate) SetNillableCreatedAt(t *time.Time) *SettingCreate {

Callers 2

SetNillableCreatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected