I've used this for a couple of things and from what I remember it gives you a little bit more safety around what you're building compared to text/template. I've considered seeing what oapi-codegen, a Go OpenAPI code generator would look like with it, but not gotten around to it. It's a bit more overheard than plain templating for sure, and I personally feel like it can read a little easier for more complex generation, but that's probably not the case for most code generation tools
Replies from 1 October 2023
Back to /kind/replies/, 2023, October 2023.
Re code generation have you seen things like https://github.com/dave/jennifer ? (blog post)
I love sqlc, it's made me so much happier interacting with databases in Go, glad you're discovering it ๐๐ฝ
When I had that the other day I needed to go back to the episodes page and relaunch the video, and that seemed to work ๐ค๐ฝ
← 30 September 2023 4 October 2023 →