module
Version:
v0.0.0-...-5f2bb2b
Opens a new window with list of versions in this module.
Published: Feb 12, 2023
License: MIT
Opens a new window with license information.
README
¶
go-room-rate-calculator
sample project to learn golang
- Calculate a hotel's room rates
- Inputs: Date, Zip Code
- Services:
- Base Room rate for zip code: Read from Database
- Discount rate based on month - calculated
- Public Holiday adjustment - call a service
- Tax rate service - based on Zip code: Maybe DB maybe DynamoDB
- http endpoints
- grpc endpoints
Software
* Gin for REST APIs
* Zap for structured logging
* Testify - assertions and mocks
* Wire for dependency injection
* GRPC + Protobufs
Directories
¶
|
|
Package ratecalculation is a generated GoMock package.
|
Package ratecalculation is a generated GoMock package. |
pkg
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.