Adding README
This commit is contained in:
parent
cf873df1e4
commit
ac8954f967
|
@ -0,0 +1 @@
|
|||
tags
|
|
@ -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()
|
||||
]
|
||||
)
|
||||
);
|
Loading…
Reference in New Issue