geohash

package
v7.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForProviderAndRegion

func ForProviderAndRegion(provider string, region string) (string, error)

ForProviderAndRegion returns the geographic location of the given region for the given provider in the geohash format with the default precision (the max of 12), or an error if the provider or region can't be found in our lookup table.

func ForProviderAndRegionWithPrecision

func ForProviderAndRegionWithPrecision(provider string, region string, precision uint) (string, error)

ForProviderAndRegionWithPrecision is the same as ForProviderAndRegion but allows a precision to be specified.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL