Documentation ¶
Overview ¶
Package output contains helper methods for pretty-printing code reviews.
Index ¶
- func PrintComments(repo repository.Repo, c []review.CommentThread) error
- func PrintCommentsJSON(c []review.CommentThread) error
- func PrintDetails(r *review.Review) error
- func PrintDiff(r *review.Review, diffArgs ...string) error
- func PrintJSON(r *review.Review) error
- func PrintSummaries(reviews []review.Summary, listAll bool)
- func PrintSummary(r *review.Summary)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintComments ¶
func PrintComments(repo repository.Repo, c []review.CommentThread) error
PrintComments prints all of the given comment threads.
func PrintCommentsJSON ¶
func PrintCommentsJSON(c []review.CommentThread) error
PrintCommentsJSON pretty prints the given review in JSON format.
func PrintDetails ¶
PrintDetails prints a multi-line overview of a review, including all comments.
func PrintSummaries ¶
PrintSummaries prints single-line summaries of a slice of reviews.
func PrintSummary ¶
PrintSummary prints a single-line summary of a review.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.