Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFloat64 ¶
GetFloat64 get value of pointer or empty value
func StringValueOrNil ¶
StringValueOrNil convert empty if it's nil
Types ¶
type AreaDetail ¶
type AreaDetail struct { PostalCity *string `json:"postal_city,omitempty"` Municipality *string `json:"municipality,omitempty"` County *string `json:"county,omitempty"` Country *string `json:"country,omitempty"` }
AreaDetail define area information such as city, county or country
type Output ¶
type Output struct { URL string `json:"url,omitempty"` StreetName *string `json:"street_name,omitempty"` Area *string `json:"area,omitempty"` AreaDetail AreaDetail `json:"area_detail"` ConstructionYear *string `json:"construction_year,omitempty"` NumberOfRooms *float64 `json:"number_of_rooms,omitempty"` LivingArea *float64 `json:"living_area,omitempty"` Borattavgift *float64 `json:"borattavgift,omitempty"` Driftkostnad *float64 `json:"driftkostnad,omitempty"` Price *float64 `json:"price,omitempty"` PricePerM2 *float64 `json:"price_per_m_2,omitempty"` SellingPrice *float64 `json:"selling_price,omitempty"` DevelopmentPrice *float64 `json:"development_price,omitempty"` DevelopmentPricePercent *float64 `json:"development_price_percent,omitempty"` HousingForm *string `json:"housing_form,omitempty"` Tenure *string `json:"tenure,omitempty"` Status Status `json:"status,omitempty"` }
Output is parsed output from library
func (*Output) CalculateDevelopment ¶
func (o *Output) CalculateDevelopment()
Click to show internal directories.
Click to hide internal directories.