Versions in this module Expand all Collapse all v3 v3.7.1 Feb 23, 2022 v3.7.0 Oct 11, 2021 Changes in this version + type LookupRequest struct + Postcode string + type LookupResponse struct + Country string + District string + Latitude float64 + Longitude float64 + Postcode string + Region string + Ward string + type PostcodeService struct + func NewPostcodeService(token string) *PostcodeService + func (t *PostcodeService) Lookup(request *LookupRequest) (*LookupResponse, error) + func (t *PostcodeService) Random(request *RandomRequest) (*RandomResponse, error) + func (t *PostcodeService) Validate(request *ValidateRequest) (*ValidateResponse, error) + type RandomRequest struct + type RandomResponse struct + Country string + District string + Latitude float64 + Longitude float64 + Postcode string + Region string + Ward string + type ValidateRequest struct + Postcode string + type ValidateResponse struct + Valid bool