Documentation
¶
Index ¶
Constants ¶
View Source
const (
Url = "https://api.exchangerate.host"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Response ¶
type Response struct {
Success bool `json:"success"`
Terms string `json:"terms"`
Privacy string `json:"privacy"`
Query struct {
From string `json:"from"`
To string `json:"to"`
Amount float64 `json:"amount"`
} `json:"query"`
Info struct {
Timestamp int64 `json:"timestamp"`
Quote float64 `json:"quote"`
} `json:"info"`
Result float64 `json:"result"`
}
Click to show internal directories.
Click to hide internal directories.