-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Gogen aims to create resourceful generator ecosystem for the go language. This means, generators in gogen can depend on each other, leading to more powerful hierarchical approach to code generation.
Resourceful means, that generators can provide the results based on the context, given by the resources they have. What more, they can generate resources, and provide them to other generators.
Simple example: Let's say we want to generate DataAccess for two of our entities, which are in M:N relationship. Resources allow generators to first generate three entities (because of the connection entity) and then tell other generators the third entity was created. Thanks to this, the documentation generator knows, that there are three entities, not only two, so it can generate the contents correcly.
Roadmap is located on the Trello
- Overview
- Setup
- Resources
- Configuration files
- Pipes
- Generate the generator structure
- Searching for resources
- Generating code
- Generating resources for other generators