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

Method SetExpires

ent/share_create.go:113–116  ·  view source on GitHub ↗

SetExpires sets the "expires" field.

(t time.Time)

Source from the content-addressed store, hash-verified

111
112// SetExpires sets the "expires" field.
113func (sc *ShareCreate) SetExpires(t time.Time) *ShareCreate {
114 sc.mutation.SetExpires(t)
115 return sc
116}
117
118// SetNillableExpires sets the "expires" field if the given value is not nil.
119func (sc *ShareCreate) SetNillableExpires(t *time.Time) *ShareCreate {

Callers 1

SetNillableExpiresMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected