Modify tags on generation of structs #2264
Unanswered
dinilvsellerapp
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently on generating golang struct from json schema has default tags in this format
type Seller struct {
Fulfilment *Fulfilment
json:"fulfilment,omitempty"
// firestore id
ID string
json:"ID"
}
is there an option in Json-schema or quicktype generator to replace "json" with custom tag like "bson" or "firestore" as an additional support ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions