Documentation
¶
Overview ¶
Package copilot implements the GitHub Copilot usage provider.
Auth, in priority order:
- Property Inspector settings field
- $GITHUB_TOKEN env var
- ~/.config/github-copilot/hosts.json
- ~/.config/github-copilot/apps.json
Endpoint: GET https://api.github.com/copilot_internal/user
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{}
Provider fetches Copilot usage data.
func (Provider) BrandBg ¶ added in v0.3.0
BrandBg returns the background color used on button faces.
func (Provider) BrandColor ¶
BrandColor returns the accent color used on button faces.
Click to show internal directories.
Click to hide internal directories.