Skip to content

Minimalistic library for keeping up to date with Postal (Zip) Code checks and US state finder/parser.

License

Notifications You must be signed in to change notification settings

lawzava/go-postal

Repository files navigation

GolangCI Version Go Report Card Coverage Status Go Reference

go-postal

Minimalistic library for keeping up to date with Postal (Zip) Code checks and US state finder/parser.

Installation

go get github.com/lawzava/go-postal

Usage

package main

import "github.com/lawzava/go-postal"

func main() {
	postal.IsValid("70100") // true
	postal.IsValid("101023") // false
}