{"modulePath":"github.com/nightfallai/nightfall_code_scanner","version":"v1.1.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubintf\n\n## Types\n\n```go\ntype GithubChecks interface {\n\tCreateCheckRun(ctx context.Context, owner, repo string, opts github.CreateCheckRunOptions) (*github.CheckRun, *github.Response, error)\n\tUpdateCheckRun(ctx context.Context, owner, repo string, checkRunID int64, opts github.UpdateCheckRunOptions) (*github.CheckRun, *github.Response, error)\n}\n```\n\n```go\ntype GithubClient interface {\n\tChecksService() GithubChecks\n\tPullRequestsService() GithubPullRequests\n\tRepositoriesService() GithubRepositories\n}\n```\n\n```go\ntype GithubPullRequests interface {\n\tCreateComment(ctx context.Context, owner string, repo string, number int, comment *github.PullRequestComment) (*github.PullRequestComment, *github.Response, error)\n\tListComments(ctx context.Context, owner string, repo string, number int, opts *github.PullRequestListCommentsOptions) ([]*github.PullRequestComment, *github.Response, error)\n}\n```\n\n```go\ntype GithubRepositories interface {\n\tCreateComment(ctx context.Context, owner, repo, sha string, comment *github.RepositoryComment) (*github.RepositoryComment, *github.Response, error)\n}\n```\n\n","path":"github.com/nightfallai/nightfall_code_scanner/internal/interfaces/githubintf","name":"githubintf","synopsis":"","isRedistributable":true}
