github

package
v1.1.1-0...-f6905a7 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 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 App

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

func (*App) AddToCommand

func (a *App) AddToCommand(cmd *cobra.Command)

AddToCommand adds the GitHub App flags to Cobra

func (*App) GetPullRequestInfo

func (a *App) GetPullRequestInfo(prNumber int) (PRInfo, error)

func (*App) Init

func (a *App) Init() error

type PRInfo

type PRInfo struct {
	ID        int
	Author    string
	Title     string
	CreatedAt *time.Time
	Base      string
	Head      string
}

Jump to

Keyboard shortcuts

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