pkg

package
v0.0.0-...-36f6cc7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterMilestone

func FilterMilestone(issues []*github.Issue, milestone string) []*github.Issue

func FilterSince

func FilterSince(issues []*github.Issue, since time.Time) []*github.Issue

func FilterUntil

func FilterUntil(issues []*github.Issue, until time.Time) []*github.Issue

Types

type GitHubRepo

type GitHubRepo struct {
	// contains filtered or unexported fields
}

func NewRepo

func NewRepo(repo string, token ...string) (*GitHubRepo, error)

func (*GitHubRepo) AllIssues

func (gr *GitHubRepo) AllIssues(state ...string) ([]*github.Issue, error)

func (*GitHubRepo) IssuesByMilestone

func (gr *GitHubRepo) IssuesByMilestone(milestone string, state ...string) ([]*github.Issue, error)

func (*GitHubRepo) IssuesSince

func (gr *GitHubRepo) IssuesSince(time time.Time, state ...string) ([]*github.Issue, error)

func (*GitHubRepo) Milestone

func (gr *GitHubRepo) Milestone(title string) (*github.Milestone, error)

func (*GitHubRepo) Milestones

func (gr *GitHubRepo) Milestones() ([]*github.Milestone, error)

func (*GitHubRepo) Repository

func (gr *GitHubRepo) Repository() *github.Repository

func (*GitHubRepo) TagCommit

func (gr *GitHubRepo) TagCommit(name string) (*github.Commit, error)

func (*GitHubRepo) Tags

func (gr *GitHubRepo) Tags() ([]*github.RepositoryTag, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL