GetEmail returns the Email field if it's non-nil, zero value otherwise.
()
| 41600 | |
| 41601 | // GetEmail returns the Email field if it's non-nil, zero value otherwise. |
| 41602 | func (u *User) GetEmail() string { |
| 41603 | if u == nil || u.Email == nil { |
| 41604 | return "" |
| 41605 | } |
| 41606 | return *u.Email |
| 41607 | } |
| 41608 | |
| 41609 | // GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. |
| 41610 | func (u *User) GetEventsURL() string { |
no outgoing calls