Go Time: Golang, Software Engineering cover image

Reflection and meta programming

Go Time: Golang, Software Engineering

00:00

How to Import Reflect to Your Code

The reflect package also has unsafe in there. So that you don't have to have all the entire reflect package imported into your code. I think it just kind of also gives a lot of like mental separation to the user if it was a separate package. You can write winter tools and whatever to catch for import reflect, but some of the basics or some of the like more easier concerns can be living in different packages. Have you seen anything like this or have you done anything like that?

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app