atart work on caching repos

This commit is contained in:
2023-02-06 23:03:15 -08:00
parent ee2fa0d24a
commit f5f268dff7
2 changed files with 31 additions and 6 deletions

View File

@@ -7,12 +7,15 @@ import (
type (
Month string
Commit struct {
LOC int `json:"loc,omitempty"`
Message string `json:"message,omitempty"`
TimeStamp time.Time `json:"ts,omitempty"`
Author string `json:"author,omitempty"`
Repo string `json:"repo,omitempty"`
Path string `json:"path,omitempty"`
Deleted int `json:"deleted,omitempty"`
Added int `json:"added,omitempty"`
FilesChanged int `json:"files_changed,omitempty"`
Message string `json:"message,omitempty"`
Hash string `json:"hash,omitempty"`
TimeStamp time.Time `json:"ts,omitempty"`
Author string `json:"author,omitempty"`
Repo string `json:"repo,omitempty"`
Path string `json:"path,omitempty"`
}
DataSet map[time.Time]WorkDay
Freq []int