Browse Source

提交代码

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/537/head
zouap 3 years ago
parent
commit
05ba3e2206
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

@@ -37,7 +37,7 @@ func TimeingCountData() {
} else {
for logEntry := list.Front(); logEntry != nil; logEntry = logEntry.Next() {
commit := logEntry.Value.(*git.Commit)
log.Info("commit msg=" + commit.CommitMessage + " time=" + commit.Committer.When.Format("2006-01-02 15:04:05"))
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
} else {


Loading…
Cancel
Save