Go to file
Pavel Merzlyakov 4c80467780
Publish PHP Package / docker (push) Successful in 6s Details
data_root DeleteCollections method
2024-12-06 18:27:58 +03:00
.gitea/workflows Добавить .gitea/workflows/build_composer.yaml 2024-02-13 15:08:41 +03:00
src Introduced 'go_json_quote' token so wrapping numbers with strings are now optional 2024-05-02 16:37:19 +03:00
tpl data_root DeleteCollections method 2024-12-06 18:27:58 +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 Update composer.json 2024-12-06 14:16:10 +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()
    ]
  )
);