Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LookupLatitudeLongitude ¶
LookupLatitudeLongitude returns the ISO 3166-2 province code of the given GPS coordinates. The first call needs to prepare the database and will be slow. You can make a call from a startup function to pre-initialize it.
func LookupPostalCode ¶
LookupPostalCode returns the ISO 3166-2 province code of the given postal code. Currently only the (four) digits of the postal code are considered, a future version might use the characters if needed. (AFAIK there is one postal code that is in two provinces.)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.