Documentation
¶
Index ¶
- type ContribResponse
- type DbContributor
- type Service
- func (s *Service) AlumniPullRequestContributors(repos []string, rangeVal int) (*ContribResponse, *http.Response, error)
- func (s *Service) NewPullRequestContributors(repos []string, rangeVal int) (*ContribResponse, *http.Response, error)
- func (s *Service) RecentPullRequestContributors(repos []string, rangeVal int) (*ContribResponse, *http.Response, error)
- func (s *Service) RepeatPullRequestContributors(repos []string, rangeVal int) (*ContribResponse, *http.Response, error)
- func (s *Service) SearchPullRequestContributors(repos []string, rangeVal int) (*ContribResponse, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContribResponse ¶
type ContribResponse struct {
Data []DbContributor `json:"data"`
Meta services.MetaData `json:"meta"`
}
type DbContributor ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the Contributors service used for accessing the "v2/contributors" endpoint and API services
func NewContributorsService ¶
NewContributorsService returns a new contributors Service
func (*Service) AlumniPullRequestContributors ¶
func (s *Service) AlumniPullRequestContributors(repos []string, rangeVal int) (*ContribResponse, *http.Response, error)
AlumniPullRequestContributors calls the "v2/contributors/insights/alumni" API endpoint
func (*Service) NewPullRequestContributors ¶
func (s *Service) NewPullRequestContributors(repos []string, rangeVal int) (*ContribResponse, *http.Response, error)
NewPullRequestContributors calls the "v2/contributors/insights/new" API endpoint
func (*Service) RecentPullRequestContributors ¶
func (s *Service) RecentPullRequestContributors(repos []string, rangeVal int) (*ContribResponse, *http.Response, error)
RecentPullRequestContributors calls the "v2/contributors/insights/recent" API endpoint
func (*Service) RepeatPullRequestContributors ¶
func (s *Service) RepeatPullRequestContributors(repos []string, rangeVal int) (*ContribResponse, *http.Response, error)
RepeatPullRequestContributors calls the "v2/contributors/insights/repeat" API endpoint
func (*Service) SearchPullRequestContributors ¶
func (s *Service) SearchPullRequestContributors(repos []string, rangeVal int) (*ContribResponse, *http.Response, error)
SearchPullRequestContributors calls the "v2/contributors/search"
Click to show internal directories.
Click to hide internal directories.