Skip to content

deelawn/addy

Repository files navigation

addy

GoDoc GoReportCard

Basic US Address Normalization


Usage

package main

import (
	"fmt"

	"github.com/deelawn/addy"
)

func main() {

	// address = "405 NW BEN FRANKLIN PKWY"
	// count = 2
	address, count := addy.NormalizeAddress1("405 northwest Ben Franklin parkway")
	fmt.Println(address, count)

	// address = "25TH FL, BOX 9"
	// count = 2
	addres, count = addy.NormalizeAddress2("25th floor, box 9")
	fmt.Println(address, count)
}

About

Basic US Address Normalization

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages