GetLogin returns the Login field if it's non-nil, zero value otherwise.
()
| 41712 | |
| 41713 | // GetLogin returns the Login field if it's non-nil, zero value otherwise. |
| 41714 | func (u *User) GetLogin() string { |
| 41715 | if u == nil || u.Login == nil { |
| 41716 | return "" |
| 41717 | } |
| 41718 | return *u.Login |
| 41719 | } |
| 41720 | |
| 41721 | // GetName returns the Name field if it's non-nil, zero value otherwise. |
| 41722 | func (u *User) GetName() string { |
no outgoing calls