Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidPostcode = errors.New("invalid postcode") ErrPostcodenlApiError = errors.New("postcode API error") )
Functions ¶
This section is empty.
Types ¶
type API ¶
type Data ¶
type Data struct { Street string `json:"street"` HouseNumber uint64 `json:"houseNumber"` HouseNumberAddition string `json:"houseNumberAddition"` Postcode string `json:"postcode"` City string `json:"city"` Municipality string `json:"municipality"` Province string `json:"province"` RdX int `json:"rdX"` RdY int `json:"rdY"` Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` BagNumberDesignationID string `json:"bagNumberDesignationId"` BagAddressableObjectID string `json:"bagAddressableObjectId"` AddressType string `json:"addressType"` Purposes []string `json:"purposes"` SurfaceArea int `json:"surfaceArea"` HouseNumberAdditions []string `json:"houseNumberAdditions"` }
Data provided from postcode.nl API's
Click to show internal directories.
Click to hide internal directories.