3
0

Codegen/spec cleanup (remove struct)

This commit is contained in:
Denis Arh
2018-08-05 23:31:03 +02:00
parent cd85f1b608
commit 3009d20fcc
8 changed files with 7 additions and 499 deletions

View File

@@ -97,7 +97,7 @@ foreach ($generators as $generator) {
$filename = str_replace("..", ".", strtolower($name) . "." . $type . ".go");
$tpl->load("http_$type.tpl");
$tpl->assign("parsers",
$tpl->assign("parsers",
$tpl->assign("package", $api['package']);
$tpl->assign("name", $name);
$tpl->assign("self", strtolower(substr($name, 0, 1)));