{"modulePath":"github.com/IHaveASegway/gitops","version":"v1.2.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubtest\n\nPackage githubtest provides a fake GitHub API server for tests.\n\n## Constants\n\n```go\nconst Token = \"test-token\"\n```\nToken is the bearer token the fake server accepts.\n\n## Functions\n\n```go\nfunc NewServer(t testing.TB, org string, repos []github.Repo) *httptest.Server\n```\nNewServer serves an organization whose canonical login is org with its first letter upper-cased, paginating repos two per page. It also serves a user \"someone\" (the authenticated user, owning one private repo), a rate-limited login \"limited\", and 404 for everything else.\n\n","path":"github.com/IHaveASegway/gitops/internal/github/githubtest","name":"githubtest","synopsis":"Package githubtest provides a fake GitHub API server for tests.","isRedistributable":true}
