Versions in this module Expand all Collapse all v2 v2.0.1 Apr 3, 2020 v2.0.0 Apr 3, 2020 Changes in this version + type BookingModel struct + AutoId int64 + CardsIssued int + CheckInDate time.Time + CheckOutDate time.Time + CheckedOutAt time.Time + CustomerId string + Guests int + NextOfKin string + PaymentMode PaymentMode + Purpose string + RoomId string + RoomPrice float64 + Status Status + Type RoomType + UserId string + func NewBookingModel() *BookingModel + func (b *BookingModel) GetLockFileNames() []string + func (b *BookingModel) GetSchema() *gitdb.Schema + func (b *BookingModel) IsLockable() bool + func (b *BookingModel) NumberOfHours() int + func (b *BookingModel) NumberOfNights() int + func (b *BookingModel) ShouldEncrypt() bool + func (b *BookingModel) Validate() error + type PaymentMode string + const Daily + const Hourly + type RoomType string + const Hall + const Room + type Status string + const Booked + const Cancelled + const CheckedIn + const CheckedOut Other modules containing this package github.com/fobilow/gitdb