SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
(t *time.Time)
| 33 | |
| 34 | // SetNillableCreatedAt sets the "created_at" field if the given value is not nil. |
| 35 | func (tc *TaskCreate) SetNillableCreatedAt(t *time.Time) *TaskCreate { |
| 36 | if t != nil { |
| 37 | tc.SetCreatedAt(*t) |
| 38 | } |
| 39 | return tc |
| 40 | } |
| 41 | |
| 42 | // SetUpdatedAt sets the "updated_at" field. |
| 43 | func (tc *TaskCreate) SetUpdatedAt(t time.Time) *TaskCreate { |
nothing calls this directly
no test coverage detected