Versions in this module Expand all Collapse all v0 v0.1.1 Nov 24, 2023 v0.1.0 Oct 17, 2021 Changes in this version + type ExchangeRate interface + From func() label.Currency + Rate func() float64 + Time func() time.Time + To func() label.Currency + type MockExchangeRate struct + func NewMockExchangeRate(ctrl *gomock.Controller) *MockExchangeRate + func (m *MockExchangeRate) EXPECT() *MockExchangeRateMockRecorder + func (m *MockExchangeRate) From() label.Currency + func (m *MockExchangeRate) Rate() float64 + func (m *MockExchangeRate) Time() time.Time + func (m *MockExchangeRate) To() label.Currency + type MockExchangeRateMockRecorder struct + func (mr *MockExchangeRateMockRecorder) From() *gomock.Call + func (mr *MockExchangeRateMockRecorder) Rate() *gomock.Call + func (mr *MockExchangeRateMockRecorder) Time() *gomock.Call + func (mr *MockExchangeRateMockRecorder) To() *gomock.Call + type MockSource struct + func NewMockSource(ctrl *gomock.Controller) *MockSource + func (m *MockSource) EXPECT() *MockSourceMockRecorder + func (m *MockSource) FetchLatest(ctx context.Context) ([]ExchangeRate, error) + func (m *MockSource) GetExchangeable() []label.Symbol + type MockSourceMockRecorder struct + func (mr *MockSourceMockRecorder) FetchLatest(ctx interface{}) *gomock.Call + func (mr *MockSourceMockRecorder) GetExchangeable() *gomock.Call + type Source interface + FetchLatest func(ctx context.Context) ([]ExchangeRate, error) + GetExchangeable func() []label.Symbol