(_ []string)
| 512 | } |
| 513 | |
| 514 | func (i DraftIssue) ExportData(_ []string) map[string]any { |
| 515 | v := map[string]any{ |
| 516 | "title": i.Title, |
| 517 | "body": i.Body, |
| 518 | "type": "DraftIssue", |
| 519 | } |
| 520 | // Emulate omitempty. |
| 521 | if i.ID != "" { |
| 522 | v["id"] = i.ID |
| 523 | } |
| 524 | return v |
| 525 | } |
| 526 | |
| 527 | type PullRequest struct { |
| 528 | Body string |
no outgoing calls