Created
May 24, 2016 19:50
-
-
Save R4CHI7/d5899ba44bc2116f64910425e6227e5d to your computer and use it in GitHub Desktop.
Simple go program which reverse geocodes a set of coordinates.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/kellydunn/golang-geo" | |
) | |
func main() { | |
pt := geo.NewPoint(28.6441636, 77.2060303) | |
geocoder := geo.GoogleGeocoder{} | |
fmt.Println(geocoder.ReverseGeocode(pt)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment