Browse Source

提交代码

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/537/head
zouap 3 years ago
parent
commit
7aa95f818b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/user_data_analysis.go

+ 1
- 1
routers/repo/user_data_analysis.go View File

@@ -39,7 +39,7 @@ func TimeingCountData() {
commit := logEntry.Value.(*git.Commit)
log.Info("commit msg=" + commit.CommitMessage + " time=" + commit.Committer.When.Format("2006-01-02 15:04:05") + " user=" + commit.Committer.Name)
if _, ok := wikiMap[commit.Committer.Name]; !ok {
wikiMap[commit.Committer.Name] = 0
wikiMap[commit.Committer.Name] = 1
} else {
wikiMap[commit.Committer.Name] += 1
}


Loading…
Cancel
Save