aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/iterator.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/github/iterator.go')
-rw-r--r--bridge/github/iterator.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/bridge/github/iterator.go b/bridge/github/iterator.go
index a9f4bd59..f6a5fbd5 100644
--- a/bridge/github/iterator.go
+++ b/bridge/github/iterator.go
@@ -8,6 +8,29 @@ import (
"github.com/shurcooL/githubv4"
)
+type iterator_A struct {
+ gc *githubv4.Client
+ since time.Time
+ ctx context.Context
+ err error
+ issueIter issueIter
+}
+
+type issueIter struct {
+ iterVars
+ query issueQuery
+ // issueEditIter []issueEditIter
+ // timelineIter []timelineIter
+}
+
+type iterVars struct {
+ index int
+ capacity int
+ variables varmap
+}
+
+type varmap map[string]interface{}
+
type indexer struct{ index int }
type issueEditIterator struct {