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