github

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrClient = errors.New("github returned client error")
View Source
var ErrGithubServer = errors.New("github returned server error")

Functions

func QueryGithub added in v0.0.22

func QueryGithub(token string, username string, logger *slog.Logger) ([]types.ViewPr, error)

func UsernameFromPat added in v0.0.24

func UsernameFromPat(token string, logger *slog.Logger) (string, error)

UsernameFromPat() will return the username for the given personal access token, to avoid having to provide the username explicitly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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