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

Method GetNumber

github/github-accessors.go:962–967  ·  view source on GitHub ↗

GetNumber returns the Number field if it's non-nil, zero value otherwise.

()

Source from the content-addressed store, hash-verified

960
961// GetNumber returns the Number field if it's non-nil, zero value otherwise.
962func (a *Alert) GetNumber() int {
963 if a == nil || a.Number == nil {
964 return 0
965 }
966 return *a.Number
967}
968
969// GetRepository returns the Repository field.
970func (a *Alert) GetRepository() *Repository {

Calls

no outgoing calls