data

package
v0.0.0-...-749d40c Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 6 Imported by: 0

README

/app/data

Code in this directory is all about Storage/Databases.

If your service needs to access some kind of DB, place all logic related to it here.

If your service doesn't need to access any kind of DB it's better to delete this directory

Examples

  • SQL (MySQL, PostgreSQL,...)
  • Document storage (mongo, ...)
  • Key->Value storage (Redis, ...)
  • AWS S3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrencyRateDao

type CurrencyRateDao interface {
	GetRates(ctx context.Context) (*model.ExchangeRateDocument, error)
}

func CreateCurrencyRateDao

func CreateCurrencyRateDao(deps currencyRateDaoImplDeps) (result CurrencyRateDao)

Jump to

Keyboard shortcuts

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