github

package
v0.0.0-...-1f925d0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthMethod

func GetAuthMethod() string

Types

type GitHubClient

type GitHubClient struct {
	AuthMethod string
}

type GitHubRepo

type GitHubRepo interface {
	Owner() string
	Repository() string
	GetInfo() (*Repository, error)
	AddIssueComment(issueNum int, comment string) error
}

func NewGitHubRepo

func NewGitHubRepo(s *Session, f *RepositoryQueryFilter) (GitHubRepo, error)

type IssuesEvent

type IssuesEvent = github.IssuesEvent

type ListOptions

type ListOptions = github.ListOptions

type Repository

type Repository = github.Repository

type RepositoryQueryFilter

type RepositoryQueryFilter struct {
	Owner      string
	Repository string
}

type Response

type Response = github.Response

type Session

type Session struct {
	Context context.Context
	Client  *github.Client
}

func NewSession

func NewSession(c *GitHubClient) (*Session, error)

Jump to

Keyboard shortcuts

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