models

package
v0.0.0-...-3220a8e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2019 License: Unlicense Imports: 2 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL