github

package
v0.0.0-...-2364677 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package github implements the forge.Forge interface backed by google/go-github. It maps GitHub REST API responses to the normalized domain types defined in the parent forge package, translating GitHub's scoped-label naming convention (scope:name) to the two-argument model used at the CLI boundary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forge

type Forge struct {
	// contains filtered or unexported fields
}

Forge is a GitHub implementation of the forge.Forge interface.

func New

func New(host, owner, repo string, httpClient *http.Client) *Forge

New creates a new GitHub Forge adapter.

func (*Forge) Comments

func (f *Forge) Comments() forge.CommentService

func (*Forge) CurrentUser

func (f *Forge) CurrentUser(ctx context.Context) (string, error)

func (*Forge) Issues

func (f *Forge) Issues() forge.IssueService

func (*Forge) Labels

func (f *Forge) Labels() forge.LabelService

func (*Forge) PRs

func (f *Forge) PRs() forge.PRService

func (*Forge) Relations

func (f *Forge) Relations() forge.RelationService

Jump to

Keyboard shortcuts

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