Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrSourceFileOnly = errors.New("source is for files only")
)
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { Author User Message string SHA string URL string Time time.Time Additions int Deletions int Verified bool }
Commit is a git commit from a forge API
type GitHub ¶
GitHub is a forge implementation for https://github.com
func (*GitHub) ReplaceIssueLinks ¶
ReplaceIssueLinks replaces issue short-links with markdown
type Gitea ¶
Gitea is a forge implementation for https://gitea.com
func (*Gitea) ReplaceIssueLinks ¶
ReplaceIssueLinks replaces issue short-links with markdown
type Issue ¶
type Issue struct { User User Title string URL string Body string Labels []string State string Created time.Time Closed time.Time Comments int PullRequest *PullRequest }
Issue is a forge issue
type PullRequest ¶ added in v0.0.5
PullRequest is a forge pull request
Click to show internal directories.
Click to hide internal directories.