repository

package
v0.0.0-...-53f0542 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeKeyRepoImpl

type TimeKeyRepoImpl struct {
	// contains filtered or unexported fields
}

func NewTimeKeyRepoImpl

func NewTimeKeyRepoImpl(db *sql.DB, logger *zerolog.Logger) *TimeKeyRepoImpl

func (*TimeKeyRepoImpl) CountByFilter

func (s *TimeKeyRepoImpl) CountByFilter(ctx context.Context, f *domain.TimeKeyFilter) (uint64, error)

func (*TimeKeyRepoImpl) DeleteByFilter

func (s *TimeKeyRepoImpl) DeleteByFilter(ctx context.Context, f *domain.TimeKeyFilter) error

func (*TimeKeyRepoImpl) GetByPrimaryKey

func (dr *TimeKeyRepoImpl) GetByPrimaryKey(ctx context.Context, entityID uint64, timestamp time.Time) (*domain.TimeKey, error)

func (*TimeKeyRepoImpl) Insert

func (r *TimeKeyRepoImpl) Insert(ctx context.Context, m *domain.TimeKey) error

func (*TimeKeyRepoImpl) ListByFilter

func (s *TimeKeyRepoImpl) ListByFilter(ctx context.Context, f *domain.TimeKeyFilter) ([]*domain.TimeKey, error)

Jump to

Keyboard shortcuts

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