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

Method SetStartedAt

pkg/database/ent/mutation.go:478–480  ·  view source on GitHub ↗

SetStartedAt sets the "startedAt" field.

(t time.Time)

Source from the content-addressed store, hash-verified

476
477// SetStartedAt sets the "startedAt" field.
478func (m *AlertMutation) SetStartedAt(t time.Time) {
479 m.startedAt = &t
480}
481
482// StartedAt returns the value of the "startedAt" field in the mutation.
483func (m *AlertMutation) StartedAt() (r time.Time, exists bool) {

Callers 3

SetFieldMethod · 0.95
createAlertBatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected