(_ []string)
| 338 | } |
| 339 | |
| 340 | func (p Projects) ExportData(_ []string) map[string]interface{} { |
| 341 | v := make([]map[string]interface{}, len(p.Nodes)) |
| 342 | for i := range p.Nodes { |
| 343 | v[i] = p.Nodes[i].ExportData(nil) |
| 344 | } |
| 345 | return map[string]interface{}{ |
| 346 | "projects": v, |
| 347 | "totalCount": p.TotalCount, |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | // ProjectItem is a ProjectV2Item GraphQL object https://docs.github.com/en/graphql/reference/objects#projectv2item. |
| 352 | type ProjectItem struct { |