data

package
v0.0.0-...-2c148e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cube

type Cube struct {
	Currency string `xml:"currency,attr"`
	Rate     string `xml:"rate,attr"`
}

type Cubes

type Cubes struct {
	CubeData []Cube `xml:"Cube>Cube>Cube"`
}

type ExchangeRates

type ExchangeRates struct {
	// contains filtered or unexported fields
}

func NewRates

func NewRates(log hclog.Logger) (*ExchangeRates, error)

func (*ExchangeRates) GetRate

func (e *ExchangeRates) GetRate(base string, dest string) (float64, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL