models

package
v0.0.0-...-d0d3ad8 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE_URL    = "http://www.post.japanpost.jp/zipcode/dl/kogaki/zip"
	TEMP_DIR    = "./tmp"
	CSV_COLUMNS = 15
)

Variables

This section is empty.

Functions

func ReloadAddressCache

func ReloadAddressCache(f func())

Types

type Address

type Address struct {
	Zipcode  string `json:"zipcode"`
	Address1 string `json:"address1"`
	Address2 string `json:"address2"`
	Address3 string `json:"address3"`
}

func GetAddress

func GetAddress(zipCode string) *Address

func NewAddressByRecord

func NewAddressByRecord(record []string) *Address

Jump to

Keyboard shortcuts

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