Go to file
Sergey Polygalin 63d80c1f08 JSON fields for saving collection diff 2023-12-17 17:39:36 +03:00
src fix reading null structs 2023-11-23 21:42:04 +03:00
tpl JSON fields for saving collection diff 2023-12-17 17:39:36 +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 Bumping deps 2023-08-16 14:38: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()
    ]
  )
);