MSS API client for Go projects
This library relies on the IANA Time Zone Database, which must be available on the operating system. It uses time.LoadLocation to load time zone data. Many Linux distributions include this database by default, but on Alpine Linux, you must install it explicitly:
apk add --no-cache tzdataFor Windows support, add the following import to your main Go file:
import _ "time/tzdata"For details, see time/tzdata.
- getHotelList ✓
- getSpecialList ✓
- getRoomList ✓
- getPriceList ✓
- getRoomAvailability ✓
- prepareBooking ✓
- getBooking ✓
- cancelBooking ✓
- createInquiry ✓
- getUserSources ✓
- getLocationList ✓
- getMasterpackagesList
- getThemeList
- validateCoupon ✓
Warning: Only the methods with a ✓ next to them have been tested so far.
Set the environment variables with:
export $(make env)Run make simple or make advanced
Run make test