Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitPipeline ¶
type CommitPipeline struct {
// contains filtered or unexported fields
}
CommitPipeline is responsible for fetching commits concurrently and saving them to the database.
func Commits ¶
func Commits(db db.Database) CommitPipeline
Commits creates and returns a CommitPipeline type.
func (*CommitPipeline) WithOptions ¶
func (c *CommitPipeline) WithOptions(options github.CommitSearchOptions) CommitPipeline
WithOptions ...
func (*CommitPipeline) WithRandomSearchTerms ¶
func (c *CommitPipeline) WithRandomSearchTerms() CommitPipeline
WithRandomSearchTerms adds random terms to the pipeline.
func (*CommitPipeline) WithSearchTerms ¶
func (c *CommitPipeline) WithSearchTerms(terms ...string) CommitPipeline
WithSearchTerms adds the provided terms to the pipeline.
Click to show internal directories.
Click to hide internal directories.