4 ms·
Aren't `tags` akin to annotations?
by noisem4ker 7y ago
Aren't `tags` akin to annotations?
- excursionist 7y agoNo, Go tags are like metadata which can be accessed through reflection at runtime. Java annotations allow you to actually generate code during the build phase.
- EdwardDiego 7y agoI've encountered a bunch of code generation in client-go - I'm not very good at Go, so not sure what the term for the code generation directives in comments is, if there is one.