mirror of
https://github.com/taigrr/gico.git
synced 2026-04-02 03:09:07 -07:00
extract common into common.go
This commit is contained in:
@@ -11,14 +11,6 @@ import (
|
||||
"github.com/taigrr/mg/parse"
|
||||
)
|
||||
|
||||
type (
|
||||
Repo git.Repository
|
||||
CommitSet struct {
|
||||
Commits []types.Commit
|
||||
Year int
|
||||
}
|
||||
)
|
||||
|
||||
func GlobalFrequencyChan(year int, authors []string) (types.YearFreq, error) {
|
||||
yearLength := 365
|
||||
if year%4 == 0 {
|
||||
|
||||
Reference in New Issue
Block a user