Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PriceTableRepository ¶
type PriceTableRepository struct {
// contains filtered or unexported fields
}
func New ¶
func New(env *env.Postgres) PriceTableRepository
func (PriceTableRepository) Create ¶
func (r PriceTableRepository) Create(ctx context.Context, i *entity.PriceTableRange) error
func (PriceTableRepository) Delete ¶
func (r PriceTableRepository) Delete(ctx context.Context, i *entity.PriceTableRange) error
func (PriceTableRepository) FindByRegionID ¶
func (r PriceTableRepository) FindByRegionID(ctx context.Context, regionID uint) (*entity.PriceTable, error)
Click to show internal directories.
Click to hide internal directories.