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