MCPcopy Create free account
hub / github.com/google/go-github / GetToken

Method GetToken

github/github-accessors.go:31762–31767  ·  view source on GitHub ↗

GetToken returns the Token field if it's non-nil, zero value otherwise.

()

Source from the content-addressed store, hash-verified

31760
31761// GetToken returns the Token field if it's non-nil, zero value otherwise.
31762func (r *RemoveToken) GetToken() string {
31763 if r == nil || r.Token == nil {
31764 return ""
31765 }
31766 return *r.Token
31767}
31768
31769// GetFrom returns the From field if it's non-nil, zero value otherwise.
31770func (r *Rename) GetFrom() string {

Callers 2

TestRemoveToken_GetTokenFunction · 0.95
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestRemoveToken_GetTokenFunction · 0.76