SetNillableTimestamp sets the "timestamp" field if the given value is not nil.
(t *time.Time)
| 466 | |
| 467 | // SetNillableTimestamp sets the "timestamp" field if the given value is not nil. |
| 468 | func (gcuo *GitCommitUpdateOne) SetNillableTimestamp(t *time.Time) *GitCommitUpdateOne { |
| 469 | if t != nil { |
| 470 | gcuo.SetTimestamp(*t) |
| 471 | } |
| 472 | return gcuo |
| 473 | } |
| 474 | |
| 475 | // ClearTimestamp clears the value of the "timestamp" field. |
| 476 | func (gcuo *GitCommitUpdateOne) ClearTimestamp() *GitCommitUpdateOne { |
nothing calls this directly
no test coverage detected