SetCreatedAt sets the "created_at" field.
(t time.Time)
| 7847 | |
| 7848 | // SetCreatedAt sets the "created_at" field. |
| 7849 | func (m *EventMutation) SetCreatedAt(t time.Time) { |
| 7850 | m.created_at = &t |
| 7851 | } |
| 7852 | |
| 7853 | // CreatedAt returns the value of the "created_at" field in the mutation. |
| 7854 | func (m *EventMutation) CreatedAt() (r time.Time, exists bool) { |