GetBody returns the Body field if it's non-nil, zero value otherwise.
()
| 19000 | |
| 19001 | // GetBody returns the Body field if it's non-nil, zero value otherwise. |
| 19002 | func (i *Issue) GetBody() string { |
| 19003 | if i == nil || i.Body == nil { |
| 19004 | return "" |
| 19005 | } |
| 19006 | return *i.Body |
| 19007 | } |
| 19008 | |
| 19009 | // GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. |
| 19010 | func (i *Issue) GetClosedAt() Timestamp { |
no outgoing calls