package
1.5.58
Repository: https://github.com/itler/go-lib.git
Documentation: pkg.go.dev

# Functions

NewClient conveniently creates a client connection to the Github API based on an already authenticated http client connection If the authenticated client is not provided, a new client will be created by calling [NewOAuthClient] trying to find tokens in [WellKnownGithubTokenVarNames] Providing a parameter for gccf would allow creating the github client with a customized function.
NewClientDefault provides a client connection to the Github API based on an already authenticated http client connection.

# Variables

WellKnownTokenVarNames lists known env var names for Github related tokens.

# Type aliases

ClientCreationFunc defines the structure of a function, which is capable for creating an oauth2 client.