/go-postal

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

Primary LanguageGoMIT LicenseMIT

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
}