{"modulePath":"github.com/badilhq/badil","version":"v0.35.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubtest\n\nPackage githubtest gives tests the GitHub forge's default repo and pull request URL rules, on [https://github.com](https://github.com) and without a client.\n\n## Variables\n\n```go\nvar Forge = newForge() //nolint:gochecknoglobals // test fixture\n\n```\nForge is the GitHub forge on the default GITHUB\\_URL, [https://github.com](https://github.com), without a client: its ParsePRURL and ParseRepoURL are the default repo and pull request URL rules.\n\n## Types\n\n```go\ntype URLs struct{}\n```\nURLs gives a forge fake the default repo and pull request URL rules: its ParseRepoURL and ParsePRURL are those of Forge. Embed it.\n\n```go\nfunc (URLs) ParsePRURL(u string) (string, string, int, bool)\n```\nParsePRURL is Forge's ParsePRURL.\n\n```go\nfunc (URLs) ParseRepoURL(u string) (string, string, bool)\n```\nParseRepoURL is Forge's ParseRepoURL.\n\n","path":"github.com/badilhq/badil/internal/forge/github/githubtest","name":"githubtest","synopsis":"Package githubtest gives tests the GitHub forge's default repo and pull request URL rules, on https://github.com and without a client.","isRedistributable":true}
