Hi HN, I recently open-sourced GoGen (
https://github.com/zaheershaikh936/gogen), a tool to automate file generation using templates.
I'm trying to grow the project and reach my first 10 contributors to get listed on various open-source directories. If you have 5 minutes, I'd love feedback on:
The ease of use of the CLI.
The roadmap (I'm planning to add nested templates and better variable support).
I've marked a few issues as "Good First Issue" for anyone who wants to contribute to a small, fresh Go project.
verdverm•1h ago
intro code gen docs: https://hofstadter.io/getting-started/code-generation/
core code gen package: https://github.com/hofstadter-io/hof/tree/_next/lib/gen
you'll likely want to move from printf to text/template and then put a schema on the input data, then put the templates as files on disk so you can iterate faster without needing to recompile the binary to adjust the code that comes out
btw, you contributed the built binary to your git repo