Go to file
Pavel Merzlyakov f8af876761 get rid of readFieldsAssoc method 2023-06-16 01:02:53 +03:00
src generating sql methods, reading/writing associative containers 2023-06-06 14:37:34 +03:00
tpl get rid of readFieldsAssoc method 2023-06-16 01:02:53 +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 Experimenting with composer deps 2022-12-14 16:37:21 +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()
    ]
  )
);