remove debug line, add basic tea structure

This commit is contained in:
2023-02-11 20:14:44 -08:00
parent ca1abd02d6
commit 2e01847d63
2 changed files with 102 additions and 11 deletions

View File

@@ -1,7 +1,6 @@
package commits
import (
"fmt"
"regexp"
"sync"
@@ -61,7 +60,6 @@ func YearFreqFromChan(cc chan types.Commit, year int) types.Freq {
freq := make([]int, yearLength)
for commit := range cc {
freq[commit.TimeStamp.YearDay()-1]++
fmt.Println(commit)
}
return freq
}