Last active
July 19, 2016 13:15
-
-
Save a-h/913d4089c8c92e4b9f1f7791ed520e2c to your computer and use it in GitHub Desktop.
Generate Output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| type Address struct { | |
| County string `json:"county,omitempty"` | |
| District string `json:"district,omitempty"` | |
| FlatNumber string `json:"flatNumber,omitempty"` | |
| HouseName string `json:"houseName,omitempty"` | |
| HouseNumber string `json:"houseNumber,omitempty"` | |
| Postcode string `json:"postcode,omitempty"` | |
| Street string `json:"street,omitempty"` | |
| Town string `json:"town,omitempty"` | |
| } | |
| type Example struct { | |
| Address *Address `json:"address,omitempty"` | |
| Name string `json:"name,omitempty"` | |
| Status *Status `json:"status,omitempty"` | |
| } | |
| type Status struct { | |
| Favouritecat string `json:"favouritecat,omitempty"` | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment