MCPcopy Index your code
hub / github.com/Wei-Shaw/sub2api / SetUpdatedAt

Method SetUpdatedAt

backend/ent/mutation.go:285–287  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

283
284// SetUpdatedAt sets the "updated_at" field.
285func (m *APIKeyMutation) SetUpdatedAt(t time.Time) {
286 m.updated_at = &t
287}
288
289// UpdatedAt returns the value of the "updated_at" field in the mutation.
290func (m *APIKeyMutation) UpdatedAt() (r time.Time, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected