Have you considered another mechanism apart from field tags for relating fields to the db (for example a function for marshalling?). It&#x27;s starting to look like you&#x27;re creating a dsl stuffed into struct field tags as strings, which gets ugly if it is complex. This is one part of go I&#x27;m really not keen on for this reason.