code: func (p *PushEventRepository) GetOpenIssuesCount() int {
  	if p == nil || p.OpenIssuesCount == nil {
  		return 0
  	}
  	return *p.OpenIssuesCount
  }
docs: // GetOpenIssuesCount returns the OpenIssuesCount field if it's non-nil, zero value otherwise.