7f92d11514 | ||
---|---|---|
src | ||
tpl | ||
.gitignore | ||
README.md | ||
composer.json |
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()
]
)
);