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

Method GetID

github/github-accessors.go:28186–28191  ·  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

28184
28185// GetID returns the ID field if it's non-nil, zero value otherwise.
28186func (p *ProjectV2Item) GetID() int64 {
28187 if p == nil || p.ID == nil {
28188 return 0
28189 }
28190 return *p.ID
28191}
28192
28193// GetItemURL returns the ItemURL field if it's non-nil, zero value otherwise.
28194func (p *ProjectV2Item) GetItemURL() string {

Calls

no outgoing calls