Update to latest version of go-github (#157)

This commit is contained in:
Luke Kysow
2017-10-12 21:36:09 -07:00
committed by Anubhav Mishra
parent 6abe46c529
commit c777ba3067
14 changed files with 205 additions and 59 deletions

View File

@@ -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 {