getData

package
v0.1.6-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommitYears

func GetCommitYears(githubUser string, client *githubv4.Client) ([]int, error)

Types

type CommitData

type CommitData struct {
	Year  int
	Month int
	Day   int
	Count int
}

type CommitDataCollection

type CommitDataCollection struct {
	CommitYears []int
	CommitData  []CommitData
}

func GetCommitDates

func GetCommitDates(db *badger.DB, user string) (CommitDataCollection, error)

func GetCommitDatesForYear

func GetCommitDatesForYear(githubUser string, year int, client *githubv4.Client) (CommitDataCollection, error)

Jump to

Keyboard shortcuts

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