MCPcopy Index your code
hub / github.com/crowdsecurity/crowdsec / SetUpdatedAt

Method SetUpdatedAt

pkg/database/ent/alert_create.go:44–47  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(v time.Time)

Source from the content-addressed store, hash-verified

42
43// SetUpdatedAt sets the "updated_at" field.
44func (_c *AlertCreate) SetUpdatedAt(v time.Time) *AlertCreate {
45 _c.mutation.SetUpdatedAt(v)
46 return _c
47}
48
49// SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
50func (_c *AlertCreate) SetNillableUpdatedAt(v *time.Time) *AlertCreate {

Callers 2

SetNillableUpdatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected