Documentation ¶
Index ¶
- type TimeKeyRepoImpl
- func (s *TimeKeyRepoImpl) CountByFilter(ctx context.Context, f *domain.TimeKeyFilter) (uint64, error)
- func (s *TimeKeyRepoImpl) DeleteByFilter(ctx context.Context, f *domain.TimeKeyFilter) error
- func (dr *TimeKeyRepoImpl) GetByPrimaryKey(ctx context.Context, entityID uint64, timestamp time.Time) (*domain.TimeKey, error)
- func (r *TimeKeyRepoImpl) Insert(ctx context.Context, m *domain.TimeKey) error
- func (s *TimeKeyRepoImpl) ListByFilter(ctx context.Context, f *domain.TimeKeyFilter) ([]*domain.TimeKey, error)
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 (*TimeKeyRepoImpl) ListByFilter ¶
func (s *TimeKeyRepoImpl) ListByFilter(ctx context.Context, f *domain.TimeKeyFilter) ([]*domain.TimeKey, error)
Click to show internal directories.
Click to hide internal directories.