{"modulePath":"github.com/inference-gateway/cli","version":"v0.268.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Variables\n\n```go\nvar ErrRateLimited = errors.New(\"GitHub API rate limit exceeded (60 req/hour for unauthenticated requests) - set GITHUB_TOKEN (or GH_TOKEN) to raise the limit to 5,000/hour, or try again later\")\n```\nErrRateLimited is returned when the GitHub API answers 403 or 429 because the unauthenticated 60 requests/hour quota is exhausted.\n\n## Functions\n\n```go\nfunc Token() string\n```\nToken returns the GitHub token from the environment, preferring GITHUB\\_TOKEN and falling back to GH\\_TOKEN (matching the gh CLI). It returns \"\" when neither is set.\n\n","path":"github.com/inference-gateway/cli/internal/github","name":"github","synopsis":"","isRedistributable":true}
