MCPcopy Index your code
hub / github.com/git-bug/git-bug / newIssueVars

Function newIssueVars

bridge/github/import_mediator.go:281–294  ·  view source on GitHub ↗
(owner, project string, since time.Time)

Source from the content-addressed store, hash-verified

279type varmap map[string]interface{}
280
281func newIssueVars(owner, project string, since time.Time) varmap {
282 return varmap{
283 "owner": githubv4.String(owner),
284 "name": githubv4.String(project),
285 "issueSince": githubv4.DateTime{Time: since},
286 "issueFirst": githubv4.Int(NumIssues),
287 "issueEditLast": githubv4.Int(NumIssueEdits),
288 "issueEditBefore": (*githubv4.String)(nil),
289 "timelineFirst": githubv4.Int(NumTimelineItems),
290 "timelineAfter": (*githubv4.String)(nil),
291 "commentEditLast": githubv4.Int(NumCommentEdits),
292 "commentEditBefore": (*githubv4.String)(nil),
293 }
294}
295
296func newIssueEditVars() varmap {
297 return varmap{

Callers 1

queryIssueMethod · 0.85

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected