Documentation ¶
Index ¶
- Variables
- func NewRoomRateRepository(postgresDb *sql.DB, logger *zap.Logger) *roomRateRepository
- func NewRoomRateService(roomRateRepository RoomRateRepository, taxRaterepository TaxRateRepository, ...) *roomRateService
- func NewTaxRateRepository(logger *zap.Logger) *taxRateRepository
- type DateAdjustment
- type RoomRate
- type RoomRateRepository
- type TaxRate
- type TaxRateRepository
- type ZipCode
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoChange = errors.New("no change")
Functions ¶
func NewRoomRateRepository ¶
func NewRoomRateService ¶
func NewRoomRateService(roomRateRepository RoomRateRepository, taxRaterepository TaxRateRepository, dateAdjustment DateAdjustment, ) *roomRateService
func NewTaxRateRepository ¶
Types ¶
type DateAdjustment ¶
func NewMonthAndWeekDayAdjustment ¶
func NewMonthAndWeekDayAdjustment() DateAdjustment
type RoomRateRepository ¶
type TaxRateRepository ¶
Click to show internal directories.
Click to hide internal directories.