Documentation ¶
Index ¶
Constants ¶
View Source
const ( EURO Currency = "EUR" DOLLAR = "USD" POUND = "GBP" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Listing ¶
type Listing struct { Address Title string // short title of the listing Description string // description given by the owner URL string // URL for the listing Rooms float64 // number of rooms in the property Area uint // area (in m2) of the property ConstructionYear uint // year in which the property was constructed Type PropertyType // the type of the listing (apartment, ...) Keywords []string // keywords identifying the property Posted time.Time // timestamp of when the listing was posted Updated time.Time // timestamp of when the listing was last updated DaysSinceUpdate float64 PriceBare uint // bare price (per month) Price uint // price with energy and other costs included (per month) Deposit uint // security deposit (0 if none) Currency Currency }
type PropertyType ¶
type PropertyType string
const ( APARTMENT PropertyType = "apartment" HOUSE = "house" )
type TransactionType ¶
type TransactionType string
const ( RENT TransactionType = "rent" // renting a flat/house BUY TransactionType = "buy" // buying a flat/house SHARE TransactionType = "share" // shared flat/house )
Click to show internal directories.
Click to hide internal directories.