transform
transform copied to clipboard
json to go struct support Outline type definitions
{
"test": {
"inline": 1
},
"world": {
"hi": {
"say": 1,
"age": 20
}
}
}
support look like:
type AutoGenerated struct {
Test Test `json:"test"`
World World `json:"world"`
}
type Test struct {
Inline int `json:"inline"`
}
type Hi struct {
Say int `json:"say"`
Age int `json:"age"`
}
type World struct {
Hi Hi `json:"hi"`
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
这个工具 非常需要,拜托了