GetKey returns the Key field if it's non-nil, zero value otherwise.
()
| 20320 | |
| 20321 | // GetKey returns the Key field if it's non-nil, zero value otherwise. |
| 20322 | func (k *Key) GetKey() string { |
| 20323 | if k == nil || k.Key == nil { |
| 20324 | return "" |
| 20325 | } |
| 20326 | return *k.Key |
| 20327 | } |
| 20328 | |
| 20329 | // GetLastUsed returns the LastUsed field if it's non-nil, zero value otherwise. |
| 20330 | func (k *Key) GetLastUsed() Timestamp { |
no outgoing calls