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