Help us shape the future of Go! Take the 2026 Go Developer Survey

github

package
v0.0.0-...-f9085a9 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTooLong = errors.New("longer than a GitHub comment can be")

Functions

This section is empty.

Types

type Actions

type Actions struct {
	Passed bool
	Log    string
}

type Client

type Client struct {
	API   string
	Token string
	Run   int64
	HTTP  *http.Client
	// contains filtered or unexported fields
}

func New

func New(api, token string, run int64) *Client

func (*Client) Description

func (a *Client) Description(ctx context.Context, src review.Source) (string, error)

func (*Client) Publish

func (a *Client) Publish(ctx context.Context, src review.Source, blocks []string, notes []report.Note) error

func (*Client) Pull

func (a *Client) Pull(ctx context.Context, repo string, number int64) (review.Source, bool, error)

func (*Client) React

func (a *Client) React(ctx context.Context, src review.Source) error

func (*Client) Wait

func (a *Client) Wait(ctx context.Context, src review.Source) (Actions, error)

Jump to

Keyboard shortcuts

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