2min chapter

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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode