package
Version:
v0.0.0-...-f5200a7
Opens a new window with list of versions in this module.
Published: Dec 15, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Amount struct {
Value float64
}
type Repo interface {
GetExchange(ctx context.Context, currencyFrom, currencyTo Currency, amountQuant, rate Amount) (*Amount, error)
StoreExchange(ctx context.Context, currencyFrom, currencyTo Currency, amountQuant, rate, amountConv Amount) error
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.