Help us shape the future of Go! Take the 2026 Go Developer Survey

github

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Calendar

type Calendar struct {
	TotalContributions int
	Weeks              []struct {
		ContributionDays []struct {
			ContributionLevel ContributionLevel
		}
	}
}

func FetchCalendar

func FetchCalendar(params FetchCalendarParameters) (Calendar, error)

type ContributionLevel

type ContributionLevel string
const (
	ContributionLevelNone           ContributionLevel = "NONE"
	ContributionLevelFirstQuartile  ContributionLevel = "FIRST_QUARTILE"
	ContributionLevelSecondQuartile ContributionLevel = "SECOND_QUARTILE"
	ContributionLevelThirdQuartile  ContributionLevel = "THIRD_QUARTILE"
	ContributionLevelFourthQuartile ContributionLevel = "FOURTH_QUARTILE"
)

type DateTime

type DateTime struct {
	time.Time
}

type FetchCalendarParameters

type FetchCalendarParameters struct {
	User *string
	From *time.Time
	To   *time.Time
}

Jump to

Keyboard shortcuts

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