2 ms·
From experience you don't tend to see tags very often other than when decoding/encoding JSON. If you use an ORM maybe you use tags as well. Other than that, th
by Sphax 11y ago
From experience you don't tend to see tags very often other than when decoding/encoding JSON. If you use an ORM maybe you use tags as well.
Other than that, their usage (at least to me after working with Go for a year now) is limited to things like Toml/YAML decoding for configuration, or (shameless plug) configuration with https://github.com/vrischmann/envconfig https://github.com/vrischmann/envconfig.