Skip to content

Instantly share code, notes, and snippets.

@a-h
Created July 19, 2016 13:14
Show Gist options
  • Select an option

  • Save a-h/696cfc2f7d7e099eca9af5b95aa726ec to your computer and use it in GitHub Desktop.

Select an option

Save a-h/696cfc2f7d7e099eca9af5b95aa726ec to your computer and use it in GitHub Desktop.
schematyper output
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