From 88976cff8332af2d5c8a37e48b45526bd08344b8 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Fri, 16 Dec 2016 17:38:14 +0900 Subject: [PATCH] github: add comments --- github.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github.go b/github.go index 8fb2b0599a..a38a22e38f 100644 --- a/github.go +++ b/github.go @@ -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"`