github

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHub

type GitHub struct {
	Debug bool
}

func NewGitHub

func NewGitHub(debug bool) *GitHub

func (*GitHub) CreatePullRequest

func (c *GitHub) CreatePullRequest(repoName string, options map[string]interface{}) interface{}

type Response

type Response struct {
	HtmlURL string `json:"html_url"`
	Message string `json:"message"`
	Errors  []struct {
		Resource string `json:"resource"`
		Code     string `json:"code"`
		Message  string `json:"message"`
	} `json:"errors"`
}

Jump to

Keyboard shortcuts

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