Skip to content

Instantly share code, notes, and snippets.

@IndianGuru
Created October 5, 2015 04:19
Show Gist options
  • Select an option

  • Save IndianGuru/1bc7cbc3c4492fe1640e to your computer and use it in GitHub Desktop.

Select an option

Save IndianGuru/1bc7cbc3c4492fe1640e to your computer and use it in GitHub Desktop.
struct.go
type Currencylayer struct {
Success bool `json:"success"`
Terms string `json:"terms"`
Privacy string `json:"privacy"`
Timestamp int `json:"timestamp"`
Source string `json:"source"`
Quotes struct {
Usdeur float64 `json:"USDEUR"`
Usdinr float64 `json:"USDINR"`
} `json:"quotes"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment