github

package
v0.4.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultClientLoader = func(token string) Client {
	return gh.NewClient(nil).WithAuthToken(token).Issues
}

Functions

func Plugin

func Plugin(version string, clientLoader ClientLoaderFn) *plugin.Schema

Types

type Client

type Client interface {
	ListByRepo(ctx context.Context, owner, repo string, opts *gh.IssueListByRepoOptions) ([]*gh.Issue, *gh.Response, error)
}

type ClientLoaderFn

type ClientLoaderFn func(token string) Client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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