data

package
v0.0.0-...-1808b4c Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 7 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 CurrencyConverterDao

type CurrencyConverterDao interface {
	GetRates(context.Context, string, string) (monobank.Currency, error)
}

func CreateCurrencyConverterDao

func CreateCurrencyConverterDao(deps currencyConverterDaoImplDeps) CurrencyConverterDao

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳