Custom Struct Tags #2167
ericsgagnon
started this conversation in
General
Replies: 1 comment
-
It's not externally configurable. Internally, it would be trivial to change. const structTagKey = "db" I suppose it could be made a public variable, but I'm generally not in favor of global configuration variables. However, all the functions like |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Is it possible to configure the struct tag for functions like StructToRowByName? I'm moving data between systems, so db isn't informative enough and has conflicts with other systems and packages. ie - I have structs that are used for multiple end points and multiple sources (like mssql, oracle, postgres) so db tag becomes an issue.
Beta Was this translation helpful? Give feedback.
All reactions