change the comment of the function

This commit is contained in:
wemeya 2016-05-11 16:05:35 +08:00
parent d4cc5090e4
commit acb2d0252b

View File

@ -84,7 +84,7 @@ func (s *StatisticAPI) Get() {
s.ServeJSON() s.ServeJSON()
} }
//return repo numbers of specified project //GetReposByProject returns repo numbers of specified project
func (s *StatisticAPI) GetReposByProject(projectName string, isAdmin bool) int { func (s *StatisticAPI) GetReposByProject(projectName string, isAdmin bool) int {
repoList, err := svc_utils.GetRepoFromCache() repoList, err := svc_utils.GetRepoFromCache()
if err != nil { if err != nil {