comment

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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