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

Method SetDeletedAt

ent/share_create.go:57–60  ·  view source on GitHub ↗

SetDeletedAt sets the "deleted_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

55
56// SetDeletedAt sets the "deleted_at" field.
57func (sc *ShareCreate) SetDeletedAt(t time.Time) *ShareCreate {
58 sc.mutation.SetDeletedAt(t)
59 return sc
60}
61
62// SetNillableDeletedAt sets the "deleted_at" field if the given value is not nil.
63func (sc *ShareCreate) SetNillableDeletedAt(t *time.Time) *ShareCreate {

Callers 1

SetNillableDeletedAtMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected