1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-10 04:27:22 +00:00

add repo list of dashboard

This commit is contained in:
Lunny Xiao
2014-03-11 14:17:05 +08:00
parent fdc4151ff3
commit b5cc4078a9
4 changed files with 24 additions and 5 deletions

View File

@ -223,6 +223,10 @@ func GetRepositories(user *User) ([]Repository, error) {
return repos, err
}
func GetRepositoryCount(user *User) (int64, error) {
return orm.Count(&Repository{OwnerId: user.Id})
}
func StarReposiory(user *User, repoName string) error {
return nil
}