GetName returns the Name field if it's non-nil, zero value otherwise.
()
| 1512 | |
| 1513 | // GetName returns the Name field if it's non-nil, zero value otherwise. |
| 1514 | func (a *App) GetName() string { |
| 1515 | if a == nil || a.Name == nil { |
| 1516 | return "" |
| 1517 | } |
| 1518 | return *a.Name |
| 1519 | } |
| 1520 | |
| 1521 | // GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. |
| 1522 | func (a *App) GetNodeID() string { |
no outgoing calls