GetTitle returns the Title field if it's non-nil, zero value otherwise.
()
| 20344 | |
| 20345 | // GetTitle returns the Title field if it's non-nil, zero value otherwise. |
| 20346 | func (k *Key) GetTitle() string { |
| 20347 | if k == nil || k.Title == nil { |
| 20348 | return "" |
| 20349 | } |
| 20350 | return *k.Title |
| 20351 | } |
| 20352 | |
| 20353 | // GetURL returns the URL field if it's non-nil, zero value otherwise. |
| 20354 | func (k *Key) GetURL() string { |
no outgoing calls