denver

package
v0.0.0-...-2b89640 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2014 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UnexpectedLength = errors.New("addresses: unexpected length")
View Source
var UnparsableAddress = errors.New("addresses: unparsable")

Functions

func ParseAddresses

func ParseAddresses(path string) (addresses []citygrid.Location, err error)

Types

type Address

type Address struct {
	Latitude   float64
	Longitude  float64
	Full       string
	Number     int
	PreDir     string
	Street     string
	PostType   string
	PostDir    string
	UnitType   string
	UnitNumber string
}

func ParseAddress

func ParseAddress(raw []string) (address *Address, err error)

func (Address) LatLong

func (a Address) LatLong() (float64, float64)

func (Address) String

func (a Address) String() string

Jump to

Keyboard shortcuts

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