https://github.com/lawzava/go-postal
Minimalistic library for keeping up to date with Postal (Zip) Code checks and US state finder/parser.
https://github.com/lawzava/go-postal
find go golang hacktoberfest parse postal us usa validate zip zipcode
Last synced: about 1 year ago
JSON representation
Minimalistic library for keeping up to date with Postal (Zip) Code checks and US state finder/parser.
- Host: GitHub
- URL: https://github.com/lawzava/go-postal
- Owner: lawzava
- License: mit
- Created: 2021-02-08T16:06:23.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T20:37:08.000Z (over 2 years ago)
- Last Synced: 2025-02-05T10:49:45.223Z (over 1 year ago)
- Topics: find, go, golang, hacktoberfest, parse, postal, us, usa, validate, zip, zipcode
- Language: Go
- Homepage: https://pkg.go.dev/github.com/lawzava/go-postal
- Size: 30.3 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README

[](https://github.com/lawzava/go-postal/releases)
[](https://goreportcard.com/report/github.com/lawzava/go-postal)
[](https://coveralls.io/github/lawzava/go-postal?branch=main)
[](https://pkg.go.dev/github.com/lawzava/go-postal)
# 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
```go
package main
import "github.com/lawzava/go-postal"
func main() {
postal.IsValid("70100") // true
postal.IsValid("101023") // false
}
```