Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubParams ¶
type GithubPullRequestResponse ¶
type GithubPullRequestResponse struct { Id int64 `json:"id"` Number int `json:"number"` User struct { Login string `json:"login"` } Title string `json:"title"` CreatedAt GithubTimestamp `json:"created_at"` UpdatedAt GithubTimestamp `json:"updated_at"` ClosedAt GithubTimestamp `json:"closed_at"` MergedAt GithubTimestamp `json:"merged_at"` }
type GithubService ¶
type GithubService struct {
// contains filtered or unexported fields
}
func NewGithubService ¶
func NewGithubService(httpClient *http.Client, githubParams GithubParams) *GithubService
func (*GithubService) GetPullRequestsForRepo ¶
func (g *GithubService) GetPullRequestsForRepo(organisation string, repository string) ([]models.GithubPullRequest, error)
func (*GithubService) GetRepositoriesForOrganisation ¶
func (g *GithubService) GetRepositoriesForOrganisation(organisation string) ([]string, error)
type GithubTimestamp ¶
func (*GithubTimestamp) UnmarshalJSON ¶
func (p *GithubTimestamp) UnmarshalJSON(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.