diff --git a/targets/go/go.inc.php b/targets/go/go.inc.php index 1e546a6..66c2602 100644 --- a/targets/go/go.inc.php +++ b/targets/go/go.inc.php @@ -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;