Documentation ¶
Overview ¶
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContribQuery struct { User struct { Login string ContributionsCollection struct { TotalIssueContributions int TotalRepositoriesWithContributedIssues int TotalCommitContributions int TotalRepositoriesWithContributedCommits int TotalPullRequestContributions int TotalRepositoriesWithContributedPullRequests int TotalPullRequestReviewContributions int TotalRepositoriesWithContributedPullRequestReviews int } `graphql:"contributionsCollection(from: $from, to: $to, organizationID: $organizationID)"` } `graphql:"user(login: $login)"` }
define the struct that we'll use to determine the total contributions from each of the input usernames to each of the input organizations
Functions ¶
This section is empty.
Types ¶
type PullRequestEdges ¶
type PullRequestEdges struct { Cursor githubv4.String Node struct { PullRequest struct { Author struct { Login string } Closed bool ClosedAt githubv4.DateTime Commits struct { Edges []commitEdges } `graphql:"commits(first: 1)"` CreatedAt githubv4.DateTime Merged bool MergedAt githubv4.DateTime Repository struct { Name string Url string } Title string Url string } } }
* and a similar struct that can be used to put together a list of all of the * pull requests performed by a given user to any repository in a given * organization
Click to show internal directories.
Click to hide internal directories.