karma

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authors

func Authors(search SearchFn, login, filter string, months int) (result []int, err error)

Authors in each of the last MONTHS

func Reviews

func Reviews(search SearchFn, login, filter string, months int) (result []int, err error)

Reviews in each of the last MONTHS

Types

type SearchFn

type SearchFn func(query string) (total int, err error)

SearchFn is function that searches somewhere and returns the count of results only (or error)

func GitHubSearch

func GitHubSearch(ctx context.Context, client *github.Client) SearchFn

GitHubSearch is a SearchFn impl for github

Jump to

Keyboard shortcuts

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