github

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNumContribsByTime added in v0.0.3

func GetNumContribsByTime(ctx context.Context, client *githubv4.Client, from time.Time, to time.Time) (int, error)

GetNumContribsByTime returns the number of contributions made by the user in the current day.

func GetNumContribsLastYear added in v0.0.3

func GetNumContribsLastYear(ctx context.Context, client *githubv4.Client) (int, error)

GetNumContribsLastYear returns the number of contributions made by the user in the last year.

func NewClient added in v0.0.3

func NewClient(apiKey string) *githubv4.Client

NewClient creates a new githubv4 client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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