Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeService ¶
type FakeService struct {
// contains filtered or unexported fields
}
func (*FakeService) List ¶
func (g *FakeService) List(ctx context.Context) ([]*PullRequest, error)
type GithubService ¶
type GithubService struct {
// contains filtered or unexported fields
}
func (*GithubService) List ¶
func (g *GithubService) List(ctx context.Context) ([]*PullRequest, error)
type PullRequest ¶
type PullRequestService ¶
type PullRequestService interface { // List gets a list of pull requests. List(ctx context.Context) ([]*PullRequest, error) }
func NewFakeService ¶
func NewFakeService(_ context.Context, listPullReuests []*PullRequest, listError error) (PullRequestService, error)
func NewGithubService ¶
Click to show internal directories.
Click to hide internal directories.