github

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client github.Client

func (*Client) GetPullRequestCountPage

func (c *Client) GetPullRequestCountPage(ctx context.Context, user string, repo string, page int) (int, int, error)

func (*Client) GetRepoStats

func (c *Client) GetRepoStats(ctx context.Context, user string, repo string) (RepoStats, error)

func (*Client) GetUserReposPage

func (c *Client) GetUserReposPage(ctx context.Context, user string, page int) ([]string, int, error)

type RepoStats

type RepoStats struct {
	Name         string
	Stars        int
	Issues       int
	PullRequests int
	Forks        int
	Archived     bool
}

Jump to

Keyboard shortcuts

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