Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineComment ¶
LineComment is feedback attached to a single 1-indexed source line.
type Review ¶
type Review struct {
Submission Submission
Approved bool
GlobalComment string
LineComments []LineComment
}
Review captures the user's review decision and feedback.
func (Review) HasFeedback ¶
HasFeedback reports whether the review includes any non-empty change request feedback.
func (Review) SortedLineComments ¶
func (r Review) SortedLineComments() []LineComment
SortedLineComments returns a sorted copy of the attached line comments.
Click to show internal directories.
Click to hide internal directories.