gh

package
v0.0.0-...-11fe650 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 10 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(tokenPath string, source string) (*Client, error)

func (*Client) ChatopsMergedPRsBetween

func (c *Client) ChatopsMergedPRsBetween(startDate, endDate time.Time) (types.ChatopsPRList, error)

ChatopsMergedPRsBetween returns a slice of PRs that were merged in the time frame defined by the start and end dates given as parameters with data required by chatops tools.

func (*Client) MergedPRsBetween

func (c *Client) MergedPRsBetween(startDate, endDate time.Time) (types.MergeQueuePRList, error)

MergedPRsBetween returns a slice of PRs that were merged in the time frame defined by the start and end dates given as parameters.

func (*Client) OpenPRsAt

func (c *Client) OpenPRsAt(date time.Time) (types.MergeQueuePRList, error)

OpenPRsAt returns the list of open PRs at a given date.

Jump to

Keyboard shortcuts

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