SetNillableDeletedAt sets the "deleted_at" field if the given value is not nil.
(t *time.Time)
| 61 | |
| 62 | // SetNillableDeletedAt sets the "deleted_at" field if the given value is not nil. |
| 63 | func (sc *ShareCreate) SetNillableDeletedAt(t *time.Time) *ShareCreate { |
| 64 | if t != nil { |
| 65 | sc.SetDeletedAt(*t) |
| 66 | } |
| 67 | return sc |
| 68 | } |
| 69 | |
| 70 | // SetPassword sets the "password" field. |
| 71 | func (sc *ShareCreate) SetPassword(s string) *ShareCreate { |
nothing calls this directly
no test coverage detected