Documentation
¶
Index ¶
- Variables
- func GenerateEventReport(events []*github.Event, repo string)
- type GithubProxy
- func (p *GithubProxy) GetEventsForDate(org string, repos []string, dateString string)
- func (p *GithubProxy) GetEventsForHours(org string, repos []string, hours int)
- func (p *GithubProxy) GetEventsSinceRFC3339(org string, repos []string, sinceString string)
- func (p *GithubProxy) GetPullRequests(org, repo string)
- func (p *GithubProxy) GetReposForOrg(org string) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PRS_PER_PAGE int = 100 DATE_FORMAT string = "2006-Jan-02" )
View Source
var EVENTS_PER_PAGE int = 100
View Source
var REPORT_SEPERATOR string = strings.Repeat("*", 20)
Functions ¶
func GenerateEventReport ¶
Types ¶
type GithubProxy ¶
type GithubProxy struct {
// contains filtered or unexported fields
}
func NewProxy ¶
func NewProxy() (GithubProxy, error)
func (*GithubProxy) GetEventsForDate ¶
func (p *GithubProxy) GetEventsForDate(org string, repos []string, dateString string)
func (*GithubProxy) GetEventsForHours ¶
func (p *GithubProxy) GetEventsForHours(org string, repos []string, hours int)
func (*GithubProxy) GetEventsSinceRFC3339 ¶
func (p *GithubProxy) GetEventsSinceRFC3339(org string, repos []string, sinceString string)
func (*GithubProxy) GetPullRequests ¶
func (p *GithubProxy) GetPullRequests(org, repo string)
func (*GithubProxy) GetReposForOrg ¶
func (p *GithubProxy) GetReposForOrg(org string) []string
Click to show internal directories.
Click to hide internal directories.