Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrencyRateByUse ¶
type CurrencyRateByUse struct { ToCurrencyCode string QuotePrice float64 PositionCost float64 SummaryValue float64 SummaryCost float64 }
CurrencyRateByUse represents the currency conversion rate for each use case
func GetCurrencyRateFromContext ¶
func GetCurrencyRateFromContext(ctx c.Context, fromCurrency string) CurrencyRateByUse
GetCurrencyRateFromContext reads currency rates from the context and sets the conversion rate for each use case
Click to show internal directories.
Click to hide internal directories.