Go Time: Golang, Software Engineering cover image

Reflection and meta programming

Go Time: Golang, Software Engineering

CHAPTER

How to Generate Code With OTO

It's called OTO. It's good for JIT. Like it's basically JSON. But actually since it's just code gen and they're just templates, you could easily write a binary protocol for it or any other typeactually. So that's quite weird but kind of awesome also. And we're using it in production and it's just works great. I mean, our use case is somewhat simple, but it's a really nice kind of reflectionReally because we have to programmatically inspect those interfaces and then do it. Do some work with them.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner