romshark / goesgen

Go code generator for event-sourced systems
BSD 3-Clause "New" or "Revised" License
12 stars 2 forks source link

Feature request: user-defined codegeneration templates #6

Open tdakkota opened 3 years ago

tdakkota commented 3 years ago

For now, there is no way to change goesgen templates. But there are many reasons to add one: use another storage, use msgpack encoding instead of JSON, add some user code to functions, etc.

romshark commented 3 years ago

This should instead be done through interfaces. Storage is already abstracted through an interface.