internal

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubClient

type GithubClient interface {
	GetIssue(context.Context, *entity.Meta, int) (*github.Issue, error)
	EditIssue(context.Context, *entity.Meta, int, *entity.IssueData) error
}

GithubClient is interface to interact with GitHub REST API v3

func NewGithubClient

func NewGithubClient(ctx context.Context, token string) GithubClient

NewGithubClient creates a GitHub API client wrapper

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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