gh

package
v0.0.0-...-857035a Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgRepoFromURL

func OrgRepoFromURL(vcsurl *urlpkg.URL) (string, string)

Types

type Handler

type Handler struct {
	Client *github.Client
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, token string) Handler

New is a helper to create a client with (or without ...) a token

func (*Handler) IsRepoArchived

func (h *Handler) IsRepoArchived(org, repo string) (bool, error)

Jump to

Keyboard shortcuts

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