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

Method GetID

github/github-accessors.go:1498–1503  ·  view source on GitHub ↗

GetID returns the ID field if it's non-nil, zero value otherwise.

()

Source from the content-addressed store, hash-verified

1496
1497// GetID returns the ID field if it's non-nil, zero value otherwise.
1498func (a *App) GetID() int64 {
1499 if a == nil || a.ID == nil {
1500 return 0
1501 }
1502 return *a.ID
1503}
1504
1505// GetInstallationsCount returns the InstallationsCount field if it's non-nil, zero value otherwise.
1506func (a *App) GetInstallationsCount() int {

Calls

no outgoing calls