JSON-to-Go
JSON
→
Go
Inline type definitions
omitempty
复制
{
"url"
:
"XXXX"
,
"id"
:
1111
}
type
AutoGenerated
struct
{ URL
string
`json:"url"`
ID
int
`json:"id"`
}