Discover Packages
github.com/giantswarm/marge
internal
github
package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Sep 14, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package github creates the authenticated GitHub API client marge uses.
LoadToken returns the GitHub token from GITHUB_TOKEN, GH_TOKEN or, failing
both, the GitHub CLI's own login (`gh auth token`). It returns "" when none
of them yields a token.
NewClient returns a GitHub API client authenticated with the token
LoadToken finds.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.