lawzava / go-postal

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

Home Page:https://pkg.go.dev/github.com/lawzava/go-postal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
}

About

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

https://pkg.go.dev/github.com/lawzava/go-postal

License:MIT License


Languages

Language:Go 100.0%