Go Time: Golang, Software Engineering cover image

Reflection and meta programming

Go Time: Golang, Software Engineering

CHAPTER

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?

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