dmitri.shuralyov.com/service/change

Work on displaying inline comments.
dmitshur committed 7 years ago commit 443f5d5ceff403e50fadc426eb7f844cc0ba3896
Showing partial commit. Full Commit
Collapse all
timeline.go
@@ -32,10 +32,17 @@ type Review struct {
	Edited    *Edited // Edited is nil if the review hasn't been edited.
	State     ReviewState
	Body      string // Optional.
	Reactions []reactions.Reaction
	Editable  bool // Editable represents whether the current user (if any) can perform edit operations on this review.
	Comments  []InlineComment
}

type InlineComment struct {
	File string
	Line int
	Body string
}

type ReviewState int8

const (