diff options
author | Alexander Scharinger <rng.dynamics@gmail.com> | 2020-12-18 22:12:29 +0100 |
---|---|---|
committer | Alexander Scharinger <rng.dynamics@gmail.com> | 2021-01-24 21:30:44 +0100 |
commit | d08f01c8c3a763be4b2618caeca2bc8ad642fc6e (patch) | |
tree | 83d6e062de15352ae0e933763b5b6b505c9b31bd /bridge/github/iterator.go | |
parent | 0baf65cd6404219881fb6767b0fde2bf1bb12b75 (diff) | |
download | git-bug-d08f01c8c3a763be4b2618caeca2bc8ad642fc6e.tar.gz |
Add GraphQL github issue query
Diffstat (limited to 'bridge/github/iterator.go')
-rw-r--r-- | bridge/github/iterator.go | 23 |
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 { |