view

package
v0.1.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(
	printer interface{ Println(...interface{}) },
	heatmap contribution.HeatMap,
	base, head string,
) error

func Lookup

func Lookup(
	printer interface{ Println(...interface{}) },
	scope time.Range,
	histogram []contribution.HistogramByWeekdayRow,
) error

func Suggest

func Suggest(
	printer interface{ Println(...interface{}) },

	scope xtime.Range,
	histogram []contribution.HistogramByWeekdayRow,

	option SuggestOption,
) error

Types

type SuggestOption

type SuggestOption struct {
	Suggest contribution.HistogramByWeekdayRow
	Current int
	Delta   bool
	Short   bool
}

type WeekReport

type WeekReport struct {
	Number int
	Report map[time.Weekday]int
}

Jump to

Keyboard shortcuts

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