Skip to content

Commit

Permalink
github: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Dec 16, 2016
1 parent dccb529 commit 88976cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions github.go
Expand Up @@ -217,12 +217,14 @@ const (
mediaTypePullRequestReview = "application/vnd.github.black-cat-preview+json"
)

// Review represents a pull request review.
type Review struct {
Body *string `json:"body,omitempty"`
Event *string `json:"event,omitempty"`
Comments []*ReviewComment `json:"comments,omitempty"`
}

// ReviewComment represents draft review comments.
type ReviewComment struct {
Path *string `json:"path,omitempty"`
Position *int `json:"position,omitempty"`
Expand Down

0 comments on commit 88976cf

Please sign in to comment.