Moved "Pending" to first position

Signed-off-by: Jonas Franz <info@jonasfranz.software>
This commit is contained in:
Jonas Franz 2018-05-10 21:43:07 +02:00
parent 0f772d1bf4
commit 4ad563d66f
No known key found for this signature in database
GPG Key ID: 506AEEBE80BEDECD

View File

@ -16,14 +16,14 @@ type ReviewType int
const ReviewTypeUnknown ReviewType = -1 const ReviewTypeUnknown ReviewType = -1
const ( const (
// ReviewTypePending is a review which is not published yet
ReviewTypePending ReviewType = iota
// ReviewTypeApprove approves changes // ReviewTypeApprove approves changes
ReviewTypeApprove ReviewType = iota ReviewTypeApprove
// ReviewTypeComment gives general feedback // ReviewTypeComment gives general feedback
ReviewTypeComment ReviewTypeComment
// ReviewTypeReject gives feedback blocking merge // ReviewTypeReject gives feedback blocking merge
ReviewTypeReject ReviewTypeReject
// ReviewTypePending is a review which is not published yet
ReviewTypePending
) )
// Review represents collection of code comments giving feedback for a PR // Review represents collection of code comments giving feedback for a PR