repositories

package
v0.0.0-...-d85391b Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CurrencySnapshotCollections = "currencysnapshots"
)

Variables

View Source
var (
	ErrNoDocuments = errors.New("Document does not exist")
)

Functions

This section is empty.

Types

type CurrencySnapshotDataService

type CurrencySnapshotDataService interface {
	Create(ctx context.Context, currencySnapshot models.CurrencySnapshot) (models.CurrencySnapshot, error)
	GetByDate(ctx context.Context, date string) ([]models.CurrencySnapshot, error)
	GetFirstExistCurrency(ctx context.Context, lables ...string) (models.CurrencySnapshot, error)
	DeleteById(ctx context.Context, id string) (int64, error)
}

Jump to

Keyboard shortcuts

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