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

Method SetUpdatedAt

pkg/database/ent/mutation.go:8913–8915  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

8911
8912// SetUpdatedAt sets the "updated_at" field.
8913func (m *MachineMutation) SetUpdatedAt(t time.Time) {
8914 m.updated_at = &t
8915}
8916
8917// UpdatedAt returns the value of the "updated_at" field in the mutation.
8918func (m *MachineMutation) UpdatedAt() (r time.Time, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected