user

package
v0.0.0-...-b701bcf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL