summaryrefslogtreecommitdiff
path: root/doFind.go
diff options
context:
space:
mode:
Diffstat (limited to 'doFind.go')
-rw-r--r--doFind.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/doFind.go b/doFind.go
index 8c4acea..c6d11ea 100644
--- a/doFind.go
+++ b/doFind.go
@@ -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()