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 (sc *ShareCreate) SetNillableCreatedAt(t *time.Time) *ShareCreate { |
| 36 | if t != nil { |
| 37 | sc.SetCreatedAt(*t) |
| 38 | } |
| 39 | return sc |
| 40 | } |
| 41 | |
| 42 | // SetUpdatedAt sets the "updated_at" field. |
| 43 | func (sc *ShareCreate) SetUpdatedAt(t time.Time) *ShareCreate { |
nothing calls this directly
no test coverage detected