Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderRuleDay ¶
type OrderRuleDayRepository ¶
type OrderRuleDayRepository interface { FindManyByEventID(ctx context.Context, eventID string, tx *sql.Tx) ([]OrderRuleDay, error) Save(ctx context.Context, rule OrderRuleDay, tx *sql.Tx) error Delete(ctx context.Context, eventID string, tx *sql.Tx) error }
func NewOrderRuleDayRepository ¶
func NewOrderRuleDayRepository(logger *logrus.Logger, db *sql.DB) OrderRuleDayRepository
type OrderRuleRangeDate ¶
type OrderRuleRangeDateRepository ¶
type OrderRuleRangeDateRepository interface { FindByEventID(ctx context.Context, eventID string, tx *sql.Tx) (OrderRuleRangeDate, error) Save(ctx context.Context, rule OrderRuleRangeDate, tx *sql.Tx) error Update(ctx context.Context, eventID string, rule OrderRuleRangeDate, tx *sql.Tx) error }
func NewOrderRuleRangeDateRepository ¶
func NewOrderRuleRangeDateRepository(logger *logrus.Logger, db *sql.DB) OrderRuleRangeDateRepository
Click to show internal directories.
Click to hide internal directories.