GopherCon 2017: Fatih Arslan - Writing a Go Tool to Parse and Modify Struct Tags

Опубликовано: 25 Июль 2017
на канале: Gopher Academy
5,924
92

Struct field tags are an important part of encode/decode types, especially when using packages such as encoding/json. However, modifying tags is repetitive, cumbersome and open to human errors. We can make it easy to modify tags with an automated tool that is written for this sole purpose.