1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
include "gcli/milestones.h";
parser github_milestone is
object of struct gcli_milestone with
("number" => id as id,
"title" => title as string,
"created_at" => created_at as iso8601_time,
"state" => state as string,
"updated_at" => updated_at as iso8601_time,
"description" => description as string,
"open_issues" => open_issues as int,
"closed_issues" => closed_issues as int,
"html_url" => web_url as string);
parser github_milestones is
array of struct gcli_milestone use parse_github_milestone;
|