gitstats

package
v0.0.0-...-b0dcb70 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitStats

type GitStats struct {
	Name          string
	TotalCommits  int
	ContributedTo int
	MergedPRs     int
}

func GetStats

func GetStats(username string) (GitStats, error)

type QueryStatsResponse

type QueryStatsResponse struct {
	User struct {
		Name                    string
		ContributionsCollection struct {
			TotalCommitContributions int
			ReposContributedTo       int
			PullRequestContributions struct {
				TotalCount int
			}
		}
		MergedPRs struct {
			// contains filtered or unexported fields
		}
	}
}

Jump to

Keyboard shortcuts

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