{"modulePath":"github.com/WebKitForWindows/reqcheck","version":"v1.1.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package reqcheck\n\n## Constants\n\n```go\nconst (\n\tDriverGitHub = \"github\"\n\tDriverGitLab = \"gitlab\"\n)\n```\n\n## Variables\n\n```go\nvar ErrScmDriver = errors.New(\"scm driver error\")\n```\n\n## Functions\n\n```go\nfunc FilterSemanticConstraint(c *semver.Constraints) func(interface{}) bool\n```\n\n```go\nfunc FilterSemanticVersion(item interface{}) bool\n```\n\n```go\nfunc FilterStableRelease(item interface{}) bool\n```\n\n```go\nfunc ListReleases(client Client, opts ListReleaseOptions) rxgo.Observable\n```\n\n```go\nfunc ReduceGreatestVersion(_ context.Context, acc interface{}, elem interface{}) (interface{}, error)\n```\n\n## Types\n\n```go\ntype Client interface {\n\tListReleases(ctx context.Context, owner, name string, opt ListOptions) ([]Release, error)\n\n\tListTags(ctx context.Context, owner, name string, opt ListOptions) ([]Release, error)\n}\n```\n\n```go\nfunc NewClientFromDriver(driver, uri, token string) (Client, error)\n```\n\n```go\nfunc NewGitHub(uri, token string) (Client, error)\n```\n\n```go\nfunc NewGitHubClient(uri, token string, cl *http.Client) (Client, error)\n```\n\n```go\nfunc NewGitLab(uri, token string) (Client, error)\n```\n\n```go\nfunc NewGitLabClient(uri, token string, cl *http.Client) (Client, error)\n```\n\n```go\ntype ListOptions struct {\n\t// For paginated result sets, page of results to retrieve.\n\tPage int\n\t// For paginated result sets, the number of results to include per page.\n\tPerPage int\n}\n```\n\n```go\ntype ListReleaseOptions struct {\n\tOwner   string\n\tRepo    string\n\tTags    bool\n\tLimitTo int\n}\n```\n\n```go\ntype Release struct {\n\tTag    string\n\tSemVer *semver.Version\n}\n```\n\n","path":"github.com/WebKitForWindows/reqcheck","name":"reqcheck","synopsis":"","isRedistributable":true}
