Go to file
Pavel Shevaev d93268aec9
Publish PHP Package / docker (push) Successful in 5s Details
Добавить .gitea/workflows/build_composer.yaml
2024-02-13 15:08:41 +03:00
.gitea/workflows Добавить .gitea/workflows/build_composer.yaml 2024-02-13 15:08:41 +03:00
src fix generating json tag for enum 2024-02-02 11:02:54 +03:00
tpl fix generating root methods 2024-01-19 03:19:13 +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()
    ]
  )
);