diff --git a/api/statistic.go b/api/statistic.go index 05b095679..cc2bfb259 100644 --- a/api/statistic.go +++ b/api/statistic.go @@ -84,7 +84,7 @@ func (s *StatisticAPI) Get() { s.ServeJSON() } -//return repo numbers of specified project +//GetReposByProject returns repo numbers of specified project func (s *StatisticAPI) GetReposByProject(projectName string, isAdmin bool) int { repoList, err := svc_utils.GetRepoFromCache() if err != nil {