MCPcopy Index your code
hub / github.com/google/go-github / GetEmail

Method GetEmail

github/github-accessors.go:41602–41607  ·  view source on GitHub ↗

GetEmail returns the Email field if it's non-nil, zero value otherwise.

()

Source from the content-addressed store, hash-verified

41600
41601// GetEmail returns the Email field if it's non-nil, zero value otherwise.
41602func (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.
41610func (u *User) GetEventsURL() string {

Callers 2

TestUser_GetEmailFunction · 0.95
createSignatureMessageFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestUser_GetEmailFunction · 0.76