We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How about adding an option to generate camelCase Go structs from snake-case XML structs? For example, from
<Address> <zip-code/> <city/> </Address>
To generate,
type Address struct { XMLName xml.Name `xml:"Address,omitempty" json:"Address,omitempty"` City *City `xml:"city,omitempty" json:"city,omitempty"` ZipCode *ZipCode `xml:"zip-code,omitempty" json:"zip-code,omitempty"` } type City struct { XMLName xml.Name `xml:"city,omitempty" json:"city,omitempty"` } type ZipCode struct { XMLName xml.Name `xml:"zip-code,omitempty" json:"zip-code,omitempty"` }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How about adding an option to generate camelCase Go structs from snake-case XML structs?
For example, from
To generate,
The text was updated successfully, but these errors were encountered: