github

package
v0.0.0-...-54c1940 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 5 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 struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(repo, token string) (*Client, error)

func (*Client) GetCommit

func (c *Client) GetCommit(ref string) (*github.RepositoryCommit, error)

func (*Client) GetCommits

func (c *Client) GetCommits(since time.Time) ([]*github.RepositoryCommit, error)

func (*Client) GetPullRequest

func (c *Client) GetPullRequest(number int) (*github.PullRequest, error)

func (*Client) GetTags

func (c *Client) GetTags() ([]*github.RepositoryTag, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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