1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-07-25 04:29:40 +02: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
}