add buffered channel methods

This commit is contained in:
2023-01-28 18:09:39 -08:00
parent dbef522f89
commit 4356613bd4
2 changed files with 110 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ type Repo git.Repository
func main() {
year := time.Now().Year() - 1
authors := []string{"Groot"}
gfreq, err := commits.GlobalFrequency(year, authors)
gfreq, err := commits.GlobalFrequencyChan(year, authors)
if err != nil {
panic(err)
}