use newer api with threading

This commit is contained in:
2023-01-29 22:25:28 -08:00
parent 9c832bc07d
commit 0390abcfeb

View File

@@ -37,7 +37,7 @@ func main() {
if err == nil {
year = y
}
freq, err := commits.GlobalFrequency(year, []string{author})
freq, err := commits.GlobalFrequencyChan(year, []string{author})
if err != nil {
panic(err)
}