gh

package
v0.0.0-...-5e8daf6 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

GitHub.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssueResponder

type IssueResponder struct {
	// GH client
	GH *github.Client

	// RepoOwner is the name of the owner of the repository to which the issue belongs
	RepoOwner string

	// RepoName is the name of the repository to which the issue belongs
	RepoName string

	// Number of the issue or pull request, a user facing ID provided by GitHub
	Number int
}

IssueResponder responds to an issue (or pull request) via a comment

func (IssueResponder) Respond

func (r IssueResponder) Respond(ctx context.Context, msg messages.Message) error

Respond to GitHub issue via a comment

Jump to

Keyboard shortcuts

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