github

package
v0.0.0-20260919.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: MIT Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package github adapts GitHub repositories and pull requests to forge contracts.

It uses go-github for tag and release catalogs, repository metadata, and pull request observation and writes. The shared internal/github client supplies authentication and transport policy; upstream and publish interpret the observations for a contribution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct{ *githubapi.Client }

func (*Client) Create

func (*Client) Inspect

Inspect reports mergeability, the latest review from each reviewer, check runs, and commit statuses for the pull request's current head. It reads only; nothing here reruns, comments, or merges.

func (*Client) Name

func (c *Client) Name() string

func (*Client) NameFromRemote

func (c *Client) NameFromRemote(remote string) (string, error)

func (*Client) Observe

func (*Client) Repository

func (c *Client) Repository(instance, name string) (forge.Repository, error)

Repository validates a GitHub owner/name without making a network request.

func (*Client) RepositoryInfo

func (c *Client) RepositoryInfo(ctx context.Context, name string) (forge.RepositoryInfo, error)

func (*Client) Update

Jump to

Keyboard shortcuts

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