github

package
v0.0.0-...-af84df9 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHub

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

func New

func New(repositoriesService RepositoriesService, limiter *rate.Limiter, owner string) *GitHub

func (*GitHub) Fetch

func (g *GitHub) Fetch(ctx context.Context, repo string) (repository.Repository, error)

func (*GitHub) Type

func (g *GitHub) Type() string

type RepositoriesService

type RepositoriesService interface {
	Get(ctx context.Context, owner, repo string) (*github.Repository, *github.Response, error)
}

type Repository

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

func (*Repository) GetProjectWebsiteOrFallback

func (r *Repository) GetProjectWebsiteOrFallback(fallback string) string

func (*Repository) GetRepoRoot

func (r *Repository) GetRepoRoot() string

Jump to

Keyboard shortcuts

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