Closed mike-hosseini closed 5 years ago
Do you think you could help with one bug I found? If you try the example for GitHub, you'll notice that it makes two Permissions
structs. Ideally, we wouldn't repeat types...
Sure thing, I will look into it now!
Submitted a new PR https://github.com/mholt/json-to-go/pull/49. Please let me know if you find any new issues. :)
This commit addresses #35. In order to, generate non-anonymous structs, set the default value for
flatten
variable injsonToGo()
totrue
. Let me know if you find any issues.