proxy.golang.org : github.com/xlab/ziptools
Package ziptools provides functionality to search through USA zip codes and cities in extremely fast way. Internally it uses the Bolt — blazing fast key-value storage that allows to cache the codes and city names with efficiency. LOCODE searches supported. Database should be created using a CSV file located at http://www.unitedstateszipcodes.org/zip_code_database.csv. The gzipped version of that file with stripped CSV header is included within this package. The zipimport tool is suited for Bolt DB creation from that gzipped CSV. After the Bolt database is created, you may remove zip_code_database.csv.gz. The zipsearch tool leverages the ziptools package and provides a simple cli interface for searching zip codes and cities within a console window (for testing purposes). List all zipcodes in city: Get the city that has the specified zip: List all cities that match the given substring: List all zips that match the given substring:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/xlab/ziptools
License: MIT
Latest release: almost 11 years ago
First release: almost 11 years ago
Namespace: github.com/xlab
Stars: 3 on GitHub
Forks: 2 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 2 months ago