SetNillableTimestamp sets the "timestamp" field if the given value is not nil.
(t *time.Time)
| 135 | |
| 136 | // SetNillableTimestamp sets the "timestamp" field if the given value is not nil. |
| 137 | func (gcu *GitCommitUpdate) SetNillableTimestamp(t *time.Time) *GitCommitUpdate { |
| 138 | if t != nil { |
| 139 | gcu.SetTimestamp(*t) |
| 140 | } |
| 141 | return gcu |
| 142 | } |
| 143 | |
| 144 | // ClearTimestamp clears the value of the "timestamp" field. |
| 145 | func (gcu *GitCommitUpdate) ClearTimestamp() *GitCommitUpdate { |
nothing calls this directly
no test coverage detected