API client for https://exchangerate.host
go get -u github.com/FlameInTheDark/erh
package main
import (
"log"
"github.com/FlameInTheDark/erh"
)
func main() {
c := erh.NewClient()
conv, err := c.Convert("USD", "EUR", 30.25, erh.ArgPlaces(2))
if err != nil {
log.Fatal(err)
}
}