github

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecGitConfig

func ExecGitConfig(args ...string) (string, error)

ExecGitConfig check git configuration

Types

type Client

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

func NewClient

func NewClient() *Client

func (*Client) NewPullRequest

func (c *Client) NewPullRequest(pro *types.PullRequestOptions) (err error)

NewPullRequest prepare additional GitHub specific data for creating pr

func (*Client) ReadJSONFromRepoToStruct

func (c *Client) ReadJSONFromRepoToStruct(org, repoName, branch string) []*types.Configuration

ReadJSONFromRepoToStruct returns struct with configuration values from selected repository

Jump to

Keyboard shortcuts

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