Created
July 19, 2016 13:14
-
-
Save a-h/696cfc2f7d7e099eca9af5b95aa726ec to your computer and use it in GitHub Desktop.
schematyper 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 | |
| // generated by "./schematyper /Users/adrian/goprojects/src/github.com/a-h/schemagenerators/exampleschema.json" -- DO NOT EDIT | |
| // Address | |
| 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 exampleschema interface{} | |
| 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