golang target changed
This commit is contained in:
parent
bf14f57177
commit
a37da318fc
|
@ -133,7 +133,7 @@ class mtgGoCodegen extends mtgCodegen
|
|||
|
||||
$result = mtg_fill_template($tpl, $repl);
|
||||
|
||||
if($struct->hasToken('POD') && $struct->hasToken("id") && $struct->hasToken("table") && $struct->hasToken("owner"))
|
||||
if($struct->hasToken("id") && $struct->hasToken("table") && $struct->hasToken("owner"))
|
||||
$result .= "\n" . str_replace(array_keys($repl), array_values($repl), $templater->tpl_collection_item());
|
||||
return $result;
|
||||
}
|
||||
|
@ -274,7 +274,7 @@ class mtgGoCodegen extends mtgCodegen
|
|||
|
||||
$repl['%import_from_mysql%'] = '';
|
||||
$repl["%export_to_arr%"] = "";
|
||||
if($struct->hasToken('POD') && $struct->hasToken("table"))
|
||||
if($struct->hasToken("table"))
|
||||
{
|
||||
$ind = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue