mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 20:57:58 +00:00
Update to latest version of go-github (#157)
This commit is contained in:
committed by
Anubhav Mishra
parent
6abe46c529
commit
c777ba3067
32
vendor/github.com/google/go-github/github/github-accessors.go
generated
vendored
32
vendor/github.com/google/go-github/github/github-accessors.go
generated
vendored
@@ -2100,6 +2100,14 @@ func (i *Issue) GetComments() int {
|
||||
return *i.Comments
|
||||
}
|
||||
|
||||
// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise.
|
||||
func (i *Issue) GetCommentsURL() string {
|
||||
if i == nil || i.CommentsURL == nil {
|
||||
return ""
|
||||
}
|
||||
return *i.CommentsURL
|
||||
}
|
||||
|
||||
// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
|
||||
func (i *Issue) GetCreatedAt() time.Time {
|
||||
if i == nil || i.CreatedAt == nil {
|
||||
@@ -2108,6 +2116,14 @@ func (i *Issue) GetCreatedAt() time.Time {
|
||||
return *i.CreatedAt
|
||||
}
|
||||
|
||||
// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise.
|
||||
func (i *Issue) GetEventsURL() string {
|
||||
if i == nil || i.EventsURL == nil {
|
||||
return ""
|
||||
}
|
||||
return *i.EventsURL
|
||||
}
|
||||
|
||||
// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
|
||||
func (i *Issue) GetHTMLURL() string {
|
||||
if i == nil || i.HTMLURL == nil {
|
||||
@@ -2124,6 +2140,14 @@ func (i *Issue) GetID() int {
|
||||
return *i.ID
|
||||
}
|
||||
|
||||
// GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise.
|
||||
func (i *Issue) GetLabelsURL() string {
|
||||
if i == nil || i.LabelsURL == nil {
|
||||
return ""
|
||||
}
|
||||
return *i.LabelsURL
|
||||
}
|
||||
|
||||
// GetLocked returns the Locked field if it's non-nil, zero value otherwise.
|
||||
func (i *Issue) GetLocked() bool {
|
||||
if i == nil || i.Locked == nil {
|
||||
@@ -2140,6 +2164,14 @@ func (i *Issue) GetNumber() int {
|
||||
return *i.Number
|
||||
}
|
||||
|
||||
// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise.
|
||||
func (i *Issue) GetRepositoryURL() string {
|
||||
if i == nil || i.RepositoryURL == nil {
|
||||
return ""
|
||||
}
|
||||
return *i.RepositoryURL
|
||||
}
|
||||
|
||||
// GetState returns the State field if it's non-nil, zero value otherwise.
|
||||
func (i *Issue) GetState() string {
|
||||
if i == nil || i.State == nil {
|
||||
|
||||
Reference in New Issue
Block a user