Go to file
Pavel Shevaev 892158b2e0 Tuning codegen 2022-12-08 19:45:55 +03:00
src Fixing typos 2022-12-08 19:30:54 +03:00
tpl Tuning codegen 2022-12-08 19:45:55 +03:00
.gitignore Adding README 2022-12-08 19:02:33 +03:00
README.md Adding README 2022-12-08 19:02:33 +03:00
composer.json First commit 2022-12-08 11:40:55 +03:00

README.md

This package is used for code generation of Go meta structs using Twig templates

Usage example:

$twig = \metagen_go\get_twig();
file_put_contents('bundle.go', 
  $twig->render("codegen_bundle.twig", 
    [
     'package' => 'autogen',
     'meta' => get_meta()
    ]
  )
);