mirror of
https://github.com/taigrr/gico.git
synced 2026-04-02 03:09:07 -07:00
use newer api with threading
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user