Documentation
¶
Index ¶
Constants ¶
View Source
const ( VenueOnline string = "ONLINE" ShowTypeLive string = "LIVE" ShowTypeHologramLive string = "HOLOGRAM_LIVE" ShowTypeOnline string = "ONLINE" TicketTierOnline string = "ONLINE" TicketTierWood string = "WOOD" TicketTierBronze string = "BRONZE" TicketTierSilver string = "SILVER" TicketTierGold string = "GOLD" TypeOrderRuleRangeDate string = "ORDER_RULE_RANGE_DATE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventRepository ¶
type EventRepository interface {
FindByID(ctx context.Context, ID string, tx *sql.Tx) (Event, error)
}
func NewEventRepository ¶
func NewEventRepository(logger *logrus.Logger, db *sql.DB) EventRepository
type LocationRepository ¶
type LocationRepository interface {
FindByShowID(ctx context.Context, showID string, tx *sql.Tx) (Location, error)
}
func NewLocationRepository ¶
func NewLocationRepository(logger *logrus.Logger, db *sql.DB) LocationRepository
type OrderRuleAggregation ¶
type OrderRuleAggregation struct { OrderRuleRangeDate order.OrderRuleRangeDate OrderRuleDay []order.OrderRuleDay }
type OrderRuleDay ¶
type OrderRuleMaximumTicket ¶
type OrderRuleRangeDate ¶
type ShowRepository ¶
type ShowRepository interface { FindByID(ctx context.Context, ID string, tx *sql.Tx) (Show, error) FindManyByEventID(ctx context.Context, eventID string, tx *sql.Tx) ([]Show, error) }
func NewShowRepository ¶
func NewShowRepository(logger *logrus.Logger, db *sql.DB) ShowRepository
Click to show internal directories.
Click to hide internal directories.