NewCopilotReplacer creates a replacer for assignee @copilot references.
(returnLogin bool)
| 337 | |
| 338 | // NewCopilotReplacer creates a replacer for assignee @copilot references. |
| 339 | func NewCopilotReplacer(returnLogin bool) *CopilotReplacer { |
| 340 | return &CopilotReplacer{ |
| 341 | returnLogin: returnLogin, |
| 342 | copilotLogin: api.CopilotAssigneeLogin, |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | // NewCopilotReviewerReplacer creates a replacer for reviewer @copilot references. |
| 347 | func NewCopilotReviewerReplacer() *CopilotReplacer { |
no outgoing calls