Documentation
¶
Overview ¶
Package copilot-go/github is a companion Go library for use with [copilot-go].
It provides a set of utilities for working with the GitHub API.
[copilot-go](https://pkg.go.dev/github.com/colbylwilliams/copilot-go)
Index ¶
Constants ¶
View Source
const ( // AppTokenExpiration is the default expiration time for the GitHub App token. AppTokenExpiration = 10 * time.Minute // 10 minutes (maximum allowed by GitHub) )
Variables ¶
This section is empty.
Functions ¶
func NewApplicationTokenSource ¶
func NewApplicationTokenSource(clientID string, privateKey []byte) (oauth2.TokenSource, error)
NewApplicationTokenSource creates a new GitHub App token source using the provided client ID and private key.
Types ¶
type ReferenceResource ¶
type ReferenceResource interface{}
Click to show internal directories.
Click to hide internal directories.