diff options
Diffstat (limited to 'doFind.go')
| -rw-r--r-- | doFind.go | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -121,6 +121,19 @@ func findAll() *gitpb.Repos { return found } +func find50() *gitpb.Repos { + count := 0 + found := gitpb.NewRepos() + for repo := range me.forge.Repos.IterByFullPath() { + found.AppendByGoPath(repo) + if count > 50 { + return found + } + count += 1 + } + return found +} + func findUser() *gitpb.Repos { found := gitpb.NewRepos() |
