3 ms·
Code generation is feature of Go. We use it with ent to generate clients, services, and database all together using the same ent scheme. We even use it to gene
by impulser_ 4y ago
Code generation is feature of Go. We use it with ent to generate clients, services, and database all together using the same ent scheme.
We even use it to generate clients and servers for other languages with the help of templates.
The language is small and simple that maintaining the generated code isn't that big of a problem as you might think.