ghcache

package
v0.0.0-...-0133f64 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IssuesGet

func IssuesGet(ctx context.Context, p persist.Cacher, c *github.Client, t time.Time, org string, project string, num int) (*github.Issue, error)

IssuesGet gets an issue from the cache or GitHub for a given org, project, and number.

func IssuesListComments

func IssuesListComments(ctx context.Context, p persist.Cacher, c *github.Client, t time.Time, org string, project string, num int) ([]*github.IssueComment, error)

IssuesListComments gets a list of comments in an issue from the cache or GitHub for a given org, project, and number.

func PullRequestsGet

func PullRequestsGet(ctx context.Context, p persist.Cacher, c *github.Client, t time.Time, org string, project string, num int) (*github.PullRequest, error)

PullRequestsGet gets a pull request data from the cache or GitHub.

func PullRequestsListComments

func PullRequestsListComments(ctx context.Context, p persist.Cacher, c *github.Client, t time.Time, org string, project string, num int) ([]*github.PullRequestComment, error)

PullRequestsListComments gets a list of comments in a pull request from the cache or GitHub for a given org, project, and number.

func PullRequestsListFiles

func PullRequestsListFiles(ctx context.Context, p persist.Cacher, c *github.Client, t time.Time, org string, project string, num int) ([]*github.CommitFile, error)

PullRequestsListFiles gets a list of files in a pull request from the cache or GitHub.

Types

This section is empty.

Jump to

Keyboard shortcuts

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