|
@@ -39,7 +39,7 @@ func TimeingCountData() { |
|
|
commit := logEntry.Value.(*git.Commit) |
|
|
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) |
|
|
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 { |
|
|
if _, ok := wikiMap[commit.Committer.Name]; !ok { |
|
|
wikiMap[commit.Committer.Name] = 0 |
|
|
|
|
|
|
|
|
wikiMap[commit.Committer.Name] = 1 |
|
|
} else { |
|
|
} else { |
|
|
wikiMap[commit.Committer.Name] += 1 |
|
|
wikiMap[commit.Committer.Name] += 1 |
|
|
} |
|
|
} |
|
|