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

Method GetLogin

github/github-accessors.go:41714–41719  ·  view source on GitHub ↗

GetLogin returns the Login field if it's non-nil, zero value otherwise.

()

Source from the content-addressed store, hash-verified

41712
41713// GetLogin returns the Login field if it's non-nil, zero value otherwise.
41714func (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.
41722func (u *User) GetName() string {

Callers 3

TestUser_GetLoginFunction · 0.95
mainFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestUser_GetLoginFunction · 0.76