SetNillableTimestamp sets the "timestamp" field if the given value is not nil.
(t *time.Time)
| 105 | |
| 106 | // SetNillableTimestamp sets the "timestamp" field if the given value is not nil. |
| 107 | func (gcc *GitCommitCreate) SetNillableTimestamp(t *time.Time) *GitCommitCreate { |
| 108 | if t != nil { |
| 109 | gcc.SetTimestamp(*t) |
| 110 | } |
| 111 | return gcc |
| 112 | } |
| 113 | |
| 114 | // SetPrNumber sets the "pr_number" field. |
| 115 | func (gcc *GitCommitCreate) SetPrNumber(s string) *GitCommitCreate { |
nothing calls this directly
no test coverage detected