Versions in this module Expand all Collapse all v1 v1.0.0 Jul 12, 2020 v0 v0.21.0 Oct 30, 2018 v0.20.0 Sep 23, 2018 Changes in this version + const DATE_FORMAT + const SQL_DATE_FORMAT + func ValidatePassword(v *revel.Validation, password string) *revel.ValidationResult + type Booking struct + Beds int + BookingId int + CardExpMonth int + CardExpYear int + CardNumber string + CheckInDate time.Time + CheckInStr string + CheckOutDate time.Time + CheckOutStr string + Hotel *Hotel + HotelId int + NameOnCard string + Smoking bool + User *User + UserId int + func (b *Booking) PostGet(exe gorp.SqlExecutor) error + func (b *Booking) PreInsert(_ gorp.SqlExecutor) error + func (b Booking) Description() string + func (b Booking) Nights() int + func (b Booking) String() string + func (b Booking) Total() int + func (booking Booking) Validate(v *revel.Validation) + type Hotel struct + Address string + City string + Country string + HotelId int + Name string + Price int + State string + Zip string + func (hotel *Hotel) Validate(v *revel.Validation) + type User struct + HashedPassword []byte + Name string + Password string + UserId int + Username string + func (u *User) String() string + func (user *User) Validate(v *revel.Validation)