Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddressRequest ¶
type AddressRequest struct {
Group data.AddressGroup `schema:"group"`
ValidOnly bool `schema:"valid-only"`
}
GET address request URL parameters
type AddressResponse ¶
type AddressResponse struct {
StreetName string `json:"street-name"`
City string `json:"city"`
State string `json:"state"`
Country string `json:"country"`
PostalCode string `json:"postal-code"`
Valid bool `json:"valid"`
Trivia string `json:"trivia"`
}
GET address request response body
func (*AddressResponse) FromAddress ¶
func (addressResponse *AddressResponse) FromAddress(address data.Address)
update address response using address
Click to show internal directories.
Click to hide internal directories.