Skip to content

Instantly share code, notes, and snippets.

@KensoDev
Created July 22, 2017 04:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KensoDev/86eb309b4c40d3b3ca0a2f440ddf09de to your computer and use it in GitHub Desktop.
Save KensoDev/86eb309b4c40d3b3ca0a2f440ddf09de to your computer and use it in GitHub Desktop.
type AmazonResponse struct {
Reservations []Reservation `json:"Reservations"`
}
type Reservation struct {
Instances []Instace `json:"Instances"`
}
type Instance struct {
PublicIpAddres string `json:"PublicIpAddres"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment