Documentation
¶
Index ¶
- func CurrencyFilter(currency string) func(db *gorm.DB) *gorm.DB
- type CurrencyDAO
- type CurrencyDAOImpl
- func (pd *CurrencyDAOImpl) FindCurrencyValueDate(ctx context.Context, currency string, dateType string) (time.Time, error)
- func (pd *CurrencyDAOImpl) FindCurrencyValuesByDate(ctx context.Context, start time.Time, end time.Time, currency string) ([]model.Currency, error)
- func (pd *CurrencyDAOImpl) GetAllCurrenciesWithLatestValue(ctx context.Context) ([]model.Currency, error)
- func (pd *CurrencyDAOImpl) Save(Currency model.Currency) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CurrencyDAO ¶
CurrencyDAO - Currency dao interface
type CurrencyDAOImpl ¶
type CurrencyDAOImpl struct {
}
CurrencyDAOImpl - Currency dao implementation
func NewCurrencyDAO ¶
func NewCurrencyDAO() *CurrencyDAOImpl
NewCurrencyDAO - gets an CurrencyDAOImpl instance
func (*CurrencyDAOImpl) FindCurrencyValueDate ¶
func (*CurrencyDAOImpl) FindCurrencyValuesByDate ¶
func (*CurrencyDAOImpl) GetAllCurrenciesWithLatestValue ¶
Click to show internal directories.
Click to hide internal directories.