Versions in this module Expand all Collapse all v0 v0.9.1 Mar 2, 2014 v0.9.0 Feb 26, 2014 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)