git

package
v0.0.0-...-50955ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubAggregatedRepository

type GithubAggregatedRepository struct {
	// contains filtered or unexported fields
}

func NewGithubAggregatedRepository

func NewGithubAggregatedRepository(
	pullRequestsRepository *GithubPullRequestsRepository,
	commitsRepository *GithubCommitsRepository,
	commentRepository *GithubCommentsRepository,
	logger *zap.Logger,
) *GithubAggregatedRepository

func (*GithubAggregatedRepository) FetchAllFor

func (r *GithubAggregatedRepository) FetchAllFor(
	ctx context.Context,
	from time.Time,
	to time.Time,
	delta time.Duration,
	organization string,
	repositories []string,
) ([]*github.PullRequest, []*github.RepositoryCommit, []*github.PullRequestComment, error)

type GithubCommentsRepository

type GithubCommentsRepository struct {
	// contains filtered or unexported fields
}

func NewGithubCommentsRepository

func NewGithubCommentsRepository(client *github.Client, logger *zap.Logger) *GithubCommentsRepository

func (*GithubCommentsRepository) FindCommentsFor

func (r *GithubCommentsRepository) FindCommentsFor(
	ctx context.Context,
	organization string,
	repository string,
	number int,
) ([]*github.PullRequestComment, error)

type GithubCommitsRepository

type GithubCommitsRepository struct {
	// contains filtered or unexported fields
}

func NewGithubCommitsRepository

func NewGithubCommitsRepository(client *github.Client, logger *zap.Logger) *GithubCommitsRepository

func (*GithubCommitsRepository) FindCommitsFor

func (r *GithubCommitsRepository) FindCommitsFor(
	ctx context.Context,
	organization string,
	repository string,
	number int,
) ([]*github.RepositoryCommit, error)

type GithubPullRequestsRepository

type GithubPullRequestsRepository struct {
	// contains filtered or unexported fields
}

func NewGithubPullRequestsRepository

func NewGithubPullRequestsRepository(client *github.Client, logger *zap.Logger) *GithubPullRequestsRepository

func (*GithubPullRequestsRepository) FindPullRequestsFor

func (r *GithubPullRequestsRepository) FindPullRequestsFor(
	ctx context.Context,
	from time.Time,
	to time.Time,
	organization string,
	repositories []string,
) ([]*github.PullRequest, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL