Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PostalCodeDict map[string]*PostalCode
PostalCodeDict dic object for json data
Functions ¶
This section is empty.
Types ¶
type ContactModel ¶
type ContactModel struct {
utils.ServiceResult
// UserID string
ID int
ContactName string
ContactPhone string
ContactAddress string
}
ContactModel => Model holds user's contact details
type GeoDataRecord ¶
type GeoDataRecord struct {
Zip string
FIPS string `logging:"fips-code"`
City string
CountyNameType string
ZipType string
CityAbb string
LL string
State string
CountyName string
}
GeoDataRecord holds imported geo data records
type LegacyContainer ¶
type LegacyContainer struct {
utils.ServiceResult
Data *LegacyData `json:"data"`
ID *string `json:"cid"`
Type *string `json:"type"`
}
LegacyContainer ...
type LegacyData ¶
type LegacyData struct {
Attributes *PostalCode `json:"attributes"`
}
LegacyData ...
type OkRespose ¶
type OkRespose struct {
utils.ServiceResult
Data string `json:",omitempty"`
}
OkRespose ..
type PostalCode ¶
type PostalCode struct {
utils.ServiceResult
ID string `json:"pid"`
Value string `json:"value"`
City *string `json:"city" logging:"-"`
State *string `json:"state" logging:"-"`
CityAbbreviation *string `json:"cityAbbreviation,omitempty"`
}
PostalCode struct
Source Files
¶
Click to show internal directories.
Click to hide internal directories.