(eds []userContentEdit)
| 265 | } |
| 266 | |
| 267 | func reverse(eds []userContentEdit) chan userContentEdit { |
| 268 | ret := make(chan userContentEdit) |
| 269 | go func() { |
| 270 | for i := range eds { |
| 271 | ret <- eds[len(eds)-1-i] |
| 272 | } |
| 273 | close(ret) |
| 274 | }() |
| 275 | return ret |
| 276 | } |
| 277 | |
| 278 | // varmap is a container for Github API's pagination variables |
| 279 | type varmap map[string]interface{} |
no test coverage detected