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

Method SetCreatedAt

ent/node_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 (nc *NodeCreate) SetCreatedAt(t time.Time) *NodeCreate {
30 nc.mutation.SetCreatedAt(t)
31 return nc
32}
33
34// SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
35func (nc *NodeCreate) SetNillableCreatedAt(t *time.Time) *NodeCreate {

Callers 2

SetNillableCreatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected