SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
(t *time.Time)
| 49 | |
| 50 | // SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil. |
| 51 | func (ec *EntityCreate) SetNillableUpdatedAt(t *time.Time) *EntityCreate { |
| 52 | if t != nil { |
| 53 | ec.SetUpdatedAt(*t) |
| 54 | } |
| 55 | return ec |
| 56 | } |
| 57 | |
| 58 | // SetDeletedAt sets the "deleted_at" field. |
| 59 | func (ec *EntityCreate) SetDeletedAt(t time.Time) *EntityCreate { |
nothing calls this directly
no test coverage detected