comment

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	PRNumber       int
	Org            string
	Repo           string
	Body           string
	BodyForTooLong string
	SHA1           string
}

type Commenter added in v1.1.0

type Commenter struct {
	HTTPClient httpclient.Client
	Token      string
}

func (Commenter) Create added in v1.1.0

func (commenter Commenter) Create(ctx context.Context, cmt Comment) error

type Mock added in v1.8.0

type Mock struct {
	Stderr io.Writer
	Silent bool
}

func (Mock) Create added in v1.8.0

func (mock Mock) Create(ctx context.Context, cmt Comment) error

type ValidationError added in v1.10.0

type ValidationError struct {
	Message string `json:"message"`
}

type ValidationErrors added in v1.10.0

type ValidationErrors struct {
	Errors []ValidationError `json:"errors"`
}

Jump to

Keyboard shortcuts

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