Skip to content

Commit

Permalink
Fix godoc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
p1ass committed Nov 11, 2019
1 parent 0a5ab0d commit 27075e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type GitHubPullRequestsClient interface {
List(ctx context.Context, owner string, repo string, opt *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
}

// GitHubService calls GitHub API through GitHubRepositoriesClient
// GitHubService handles application logic using GitHub API
type GitHubService struct {
owner string
repoCli GitHubRepositoriesClient
Expand Down Expand Up @@ -114,7 +114,7 @@ func (s *GitHubService) getLatestRelease(repo string) (*github.RepositoryRelease
return release, nil
}

// GetMergedPRsAfterLatestRelease gets pull requests merged after the latest release
// GetMergedPRsAfterLatestRelease gets pull requests which are merged after the latest release
func (s *GitHubService) GetMergedPRsAfterLatestRelease(repo string) ([]*github.PullRequest, error) {
release, err := s.getLatestRelease(repo)
if err != nil {
Expand Down

0 comments on commit 27075e0

Please sign in to comment.