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

Method StartedAt

pkg/database/ent/mutation.go:483–489  ·  view source on GitHub ↗

StartedAt returns the value of the "startedAt" field in the mutation.

()

Source from the content-addressed store, hash-verified

481
482// StartedAt returns the value of the "startedAt" field in the mutation.
483func (m *AlertMutation) StartedAt() (r time.Time, exists bool) {
484 v := m.startedAt
485 if v == nil {
486 return
487 }
488 return *v, true
489}
490
491// OldStartedAt returns the old "startedAt" field's value of the Alert entity.
492// If the Alert object wasn't provided to the builder, the object is fetched from the database.

Callers 5

FieldMethod · 0.95
defaultsMethod · 0.80
createSpecMethod · 0.80
UpdateNewValuesMethod · 0.80
UpdateNewValuesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected