Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ViewPr ¶
type ViewPr struct { ReviewStatus string Url string Title string Author string RepoName string RepoOwner string RepoUrl string IsDraft bool LastUpdated time.Time LastPrCommenter string UnrespondedThreads int Additions int Deletions int ReviewRequestedFromUsers []string Buried bool }
ViewPr must contain everything needed to order/compare them against other PRs, since ViewPr is also what we store.
func (ViewPr) ToggleBuryUrl ¶
ToggleBuryUrl() introduces the concept of base64-encoded-PR-URL as an "ID", in the sense of a REST API's resource. This feels cleaner than having to escape things, or constructing an ID with a owner/repo/pr# or such. If we want to support something else than Github later, an URL is still a good ID.
Click to show internal directories.
Click to hide internal directories.