Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
wiki: document struct tag usage #14805
Problem: Due to increased usage of Go and thus Go struct tags, clashes become inevitable.
Go offers struct tags which are discoverable via reflection. These enjoy a wide range of use in the standard library in the JSON/XML and other encoding packages. The community welcomed them and build ORMs, further encodings, flag parsers and much more around them.
Since esp. while handling encodings and ORMs single sourcing data structures is beneficial for data structures.
If IANA want to host this more power to them, I don't think this is the
On Mon, 14 Mar 2016, 04:06 Brad Fitzpatrick, firstname.lastname@example.org
Started the wiki page here: https://github.com/golang/go/wiki/Well-known-struct-tags and feedback and contribution is very welcome.