Adding README

This commit is contained in:
Pavel Shevaev 2022-12-08 19:02:33 +03:00
parent cf873df1e4
commit ac8954f967
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
tags

13
README.md Normal file
View File

@ -0,0 +1,13 @@
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()
]
)
);