GetEvent returns the Event field if it's non-nil, zero value otherwise.
()
| 40256 | |
| 40257 | // GetEvent returns the Event field if it's non-nil, zero value otherwise. |
| 40258 | func (t *Timeline) GetEvent() string { |
| 40259 | if t == nil || t.Event == nil { |
| 40260 | return "" |
| 40261 | } |
| 40262 | return *t.Event |
| 40263 | } |
| 40264 | |
| 40265 | // GetID returns the ID field if it's non-nil, zero value otherwise. |
| 40266 | func (t *Timeline) GetID() int64 { |
no outgoing calls